Skip to content

fix: pass identifier to CreateProject to fix validation error - #5

Open
JaySmith wants to merge 1 commit into
cpatrickalves:mainfrom
JaySmith:fix/project-create-identifier
Open

fix: pass identifier to CreateProject to fix validation error#5
JaySmith wants to merge 1 commit into
cpatrickalves:mainfrom
JaySmith:fix/project-create-identifier

Conversation

@JaySmith

Copy link
Copy Markdown

CreateProject.identifier is a required field in the plane-sdk model but wasn't passed at initialization — causing a Pydantic ValidationError on every planecli project create call. This passes it at construction time with a fallback to the first 3 chars of the project name when no --identifier flag is given.

CreateProject.identifier is a required field in the SDK model,
but was not passed at initialization — causing a Pydantic
ValidationError on every project create attempt. Pass it at
construction time with a fallback to the first 3 chars of the
project name when no identifier is given.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant