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

Rename default renderer to cornicejson #543

Merged
merged 1 commit into from
Aug 12, 2020
Merged

Conversation

leplatrem
Copy link
Contributor

Some extensions like cornice.ext.swagger assume that JSON renderers
would contain the word "json".

Renaming this default renderer does not harm and kind of makes sense.

It does not mean we shouldn't fix the extensions to remove these sorts
of assumptions and be more robust.

Some extensions like cornice.ext.swagger assume that JSON renderers
would contain the word ``"json"``.

Renaming this default renderer does not harm and kind of makes sense.

It does not mean we shouldn't fix the extensions to remove these sorts
of assumptions and be more robust.
Copy link
Contributor

@Natim Natim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Breaking change?

@leplatrem
Copy link
Contributor Author

Breaking change?

It was never documented, so I would be tempted to say «no» (?)

@leplatrem leplatrem merged commit 3e857f8 into master Aug 12, 2020
@leplatrem leplatrem deleted the rename-default-renderer branch August 12, 2020 14:02
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