Ville Nukarinen

Results 5 comments of Ville Nukarinen

Hey, I also have a use case for this. I have a public API which serves localized content. I would like to pass X-Hasura-Language as a header and then use...

> You can refresh their client token if they change their language. I am wondering how should I use this with JWT authentication and using HASURA_GRAPHQL_UNAUTHORIZED_ROLE environment variable for unauthenticated...

Looking further into ajv docs https://ajv.js.org/guide/modifying-data.html#removing-additional-properties it looks like this is expected behavior. So I tried this also with the suggestion of adding **discriminator** property but still seeing same behavior.

I also thought so but it seems that the raw data is put through JSON.parse before deserializer is called, therefore it will still give an error even if I give...

Yes, the string in local storage was corrupted by a user (using browser dev tools) which then caused JSON.parse to throw error and the whole application not to work. So...