You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure to fork this template and run yarn generate in the terminal.
Please make sure Mesh package versions under package.json matches yours.
2. A failing test has been provided
3. A local solution has been provided
4. A pull request is pending review
Describe the bug
#4408 Request to allow setting Accept in operationHeader #4419 Allow user to set Accept header from schema.
The fix introduces a side effect which generates schema with JSON types if accept header is set. The desire outcome is to allow accept header in operationHeader as such "application/json;v=2" without impacting the generated schema.graphql. It is the convention in the company to invoke the right version of the API.
Issue workflow progress
Progress of the issue based on the Contributor Workflow
Describe the bug
#4408 Request to allow setting Accept in operationHeader
#4419 Allow user to set Accept header from schema.
The fix introduces a side effect which generates schema with JSON types if accept header is set. The desire outcome is to allow
accept
header in operationHeader as such "application/json;v=2" without impacting the generated schema.graphql. It is the convention in the company to invoke the right version of the API.Here is an article about using Accept header to indicate version of the web API: https://dotnettutorials.net/lesson/web-api-versioning-using-accept-header.
To Reproduce
Steps to reproduce the behavior:
npm run build
Expected behavior
Environment:
Additional context
The text was updated successfully, but these errors were encountered: