Skip to content

Stay more compatible with 1.0.0 #10

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rockymontana
Copy link

This PR reverts the strange model that I made a PR for last month.
That one came with a lot of changes on structure and wasn't at all similar to version 1.0.0
Thank you @mattiasmelin for noticing that.

However, this one comes with some changes that makes me wonder if some of it is a bit redundant.
Title and errors.*.message seems like they could be the same thing
Will the errors ever contain more than one item in reality?

required:
- errors
- trace
- type
Copy link
Collaborator

@mattiasmelin mattiasmelin Nov 27, 2023

Choose a reason for hiding this comment

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

Any reason why type is required? Seems to be a breaking change compared to 1.0.0.

Copy link
Author

Choose a reason for hiding this comment

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

I guess it could be removed. It's not required per se, but if it's not precent it should default to about/blank - which is quite useless. Should I remove it?

Copy link
Author

Choose a reason for hiding this comment

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

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.

3 participants