Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update schema args as objects #3

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

cohansen
Copy link
Collaborator

@cohansen cohansen commented Feb 3, 2023

Closes #2.

This PR updates the 3 primitive types (string, number, and boolean) for args to objects.

Hopefully I caught all the tests, there were quite a few that included the primitive types...

@cohansen cohansen requested a review from camargo February 3, 2023 20:23
@camargo camargo changed the title Feature/update schema args as objects Update schema args as objects Feb 3, 2023
@camargo camargo added breaking change A change that will require updating downstream code refactor A code change that neither fixes a bug nor adds a feature labels Feb 3, 2023
Converted number primitive to object in schema

Converted primitive string to object in schema

Updated generated types

Updated version to 1.0.11
@cohansen cohansen force-pushed the feature/update-schema-args-as-objects branch from 4808705 to 51d1203 Compare February 3, 2023 20:42
schema.json Show resolved Hide resolved
Copy link
Member

@camargo camargo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Let's get sign off from @goetzrrGit and this is good to merge.

Copy link

@goetzrrGit goetzrrGit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will have to get this hooked up on the Command Expansion side. I think I will update the npm package on my PR and hook them up since I am working on reworking Commands anyway.

schema.json Show resolved Hide resolved
@camargo camargo merged commit a9da712 into develop Feb 6, 2023
@camargo camargo deleted the feature/update-schema-args-as-objects branch February 6, 2023 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change A change that will require updating downstream code refactor A code change that neither fixes a bug nor adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make structure of all argument types consistent
4 participants