Skip to content

Conversation

@irvinesunday
Copy link
Contributor

Fixes #453

This PR:

  • Adds delete operation to collection-valued nav. paths with $ref. A required query param of @id is also included in the list of parameters.
  • Updates test and integration files to validate the above.

We no longer use containment to determine whether or not to create $ref segments for nav. props.; we use referenceable annotations. Hence the Debug.Assert needs omission.
The query parameter @id needs to be required in the delete operation of col-valued nav. props. with $ref segments because you need to index into the collection before deleting
@irvinesunday irvinesunday changed the title [Fix] Adds delete operation to collection-valued nav. property paths with $ref and with a required @id query param [Fix] Adds a delete operation and a required @id query parameter to collection-valued nav. property paths with $ref Jan 22, 2024
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@irvinesunday irvinesunday merged commit 789a57e into master Jan 23, 2024
@irvinesunday irvinesunday deleted the is/delete-col-nav-props branch January 23, 2024 09:59
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.

Support for Reference delete scenario on collection valued nav property with index in query parameter.

4 participants