Skip to content

Conversation

nduitz
Copy link

@nduitz nduitz commented Sep 10, 2025

Hey there.

We have a lot of polymorphic relations in our project which leads to very unreadable errors when asserting the api spec in tests.

Since we model the jsonapi standard in our schemas every resource has a "type".

I know this problem is very specific to our use case, but extending the enum error by expected and given would make our lives way better <3

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.

1 participant