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

feat: strict mode is now properly evaluated on the request #639

Merged
merged 2 commits into from
Jun 19, 2023
Merged

Conversation

nlunets
Copy link
Member

@nlunets nlunets commented Jun 16, 2023

Odata request can be sent with Prefer:handling=strict which should fail in case user manual approval is required (412 status code).
Up until now we couldn't evaluate this

@changeset-bot
Copy link

changeset-bot bot commented Jun 16, 2023

🦋 Changeset detected

Latest commit: 06c4b67

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@sap-ux/fe-mockserver-core Patch
@sap-ux/ui5-middleware-fe-mockserver Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@nlunets nlunets requested a review from drktfl June 16, 2023 09:21
@drktfl
Copy link
Contributor

drktfl commented Jun 16, 2023

is there a test for this?

@nlunets
Copy link
Member Author

nlunets commented Jun 16, 2023

In my heart ?

@nlunets
Copy link
Member Author

nlunets commented Jun 16, 2023

There is no test for this, i feel lazy and i shouldn't be, will add one ...

@sonarcloud
Copy link

sonarcloud bot commented Jun 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@nlunets nlunets merged commit cd5b778 into main Jun 19, 2023
12 checks passed
@nlunets nlunets deleted the strictMOde branch June 19, 2023 06:45
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