Skip to content

Mark some properties in the all.yaml file as required#290

Closed
ognis1205 wants to merge 2 commits intounitycatalog:mainfrom
ognis1205:fix/mark-some-properties-as-required
Closed

Mark some properties in the all.yaml file as required#290
ognis1205 wants to merge 2 commits intounitycatalog:mainfrom
ognis1205:fix/mark-some-properties-as-required

Conversation

@ognis1205
Copy link
Contributor

@ognis1205 ognis1205 commented Jul 26, 2024

Description of changes
Resolves #280.

Marked some properties in the all.yaml file as required and updated the related API documents. The updating strategy is as follows:

  • Update the properties marked as required in the FooInfo schema, by referring to the properties marked as required in CreateFoo schema.
  • In addition to the above, update the property corresponding to its id to required in FooInfo.

Verified that it works in the local environment and does not break backward compatibility. It is also possible to consider making all properties defined as required nullable as another implementation approach, but this was not adopted.

Copy link
Collaborator

@vikrantpuppala vikrantpuppala left a comment

Choose a reason for hiding this comment

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

thank you for adding this! @haogang to merge

@ognis1205
Copy link
Contributor Author

ognis1205 commented Aug 7, 2024

I squashed the commits into one. I will also sign-off the commit later.
Done.

@vikrantpuppala
Copy link
Collaborator

@rameshchandra

@ognis1205 ognis1205 mentioned this pull request Aug 29, 2024
4 tasks
@ognis1205 ognis1205 closed this by deleting the head repository Nov 2, 2024
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.

Mark some properties in the all.yaml file as required

3 participants