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

relates to #178: update commands per spec, improved tests #236

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

ivansenic
Copy link
Contributor

What this PR does:

Adaptation to spec for the updateOne & updateMany, including test improvements.

  • make update clause mandatory I see no reason to allow this empty or?
    • if so we should ensure that updateOperationDefs are also not empty and at least one given
  • improved tests:
    • created command tests for validation
    • created/updated tests for command resolvers, added tests for upsert=true
    • refactored operation tests, added some new cases
    • integration tests assertions
  • fixed swagger examples

Which issue(s) this PR fixes:
Relates to #178.

@ivansenic ivansenic requested a review from a team as a code owner March 9, 2023 12:48
@maheshrajamani maheshrajamani merged commit e3a4f54 into main Mar 9, 2023
@maheshrajamani maheshrajamani deleted the ise-178-update-commands branch March 9, 2023 14:36
@ivansenic
Copy link
Contributor Author

But I did no finish this PR, there were some tasks left? OK can do separate PR next week for that..

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.

2 participants