-
Notifications
You must be signed in to change notification settings - Fork 0
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
Compatibility #2
base: master
Are you sure you want to change the base?
Conversation
Foreslår å akseptere det som står her. |
@@ -230,7 +229,7 @@ release management. | |||
|
|||
Media type versioning: Here, version information and media type are | |||
provided together via the HTTP Content-Type header — e.g. | |||
application/x.zalando.cart+json;version=2. For incompatible changes, a | |||
application/x.dnt.sherpa+json;version=4. For incompatible changes, a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skal tro om cart
også er med på å påvirke output, og at de bruker ulike verdier der, avhengig av hvordan de vil JSON skal struktureres f.eks? Kanskje ikke relevant å tilby flere varianter i Sherpa, men f.eks. i Turbasen kunne man jo gi tilpasset output til UT for requests med header Accept: application/x.turbasen.ut+json
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, godt poeng. Jeg så for meg at "cart" her var en av appene i zalando-plattformen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
altså at denne output'en kom fra APIet til "cart", ikke at formatet var for klienten "cart"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Å støtte flere ulike outputstrukturer høres slitsomt ut ved fremtidige endringer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, ja, at det er en app ja. Vil tro du har rett! 👍
Støtter versjonering med headers. 👍 |
Endringer i «Compatibility»-kapittelet