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

schema contracts: more detailed information on why composition failed (tag instead of inaccessible) #3946

Open
n1ru4l opened this issue Feb 9, 2024 · 0 comments

Comments

@n1ru4l
Copy link
Collaborator

n1ru4l commented Feb 9, 2024

Due to the implementation of schema contracts (transforming @tag to @inaccessible), the composition errors will contain error messages such as "Failed to compose as X is @inaccessible". This is correct from the composition point of view. But for the end user, the information that the field is inaccessible due to not being tagged properly is more useful. As he never applied @inaccessible on it directly.

@n1ru4l n1ru4l changed the title schema contracts: more information on why composition failed schema contracts: more detailed information on why composition failed (tag instead of inaccessible) Feb 9, 2024
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

No branches or pull requests

1 participant