I’m starting with Realm Web and I’m wondering how do you validate user password during registration? Should i use a realm function to validate email and password and then call the realm register api function ?
I’m also wondering how do you validate user form in general, do you have to create a custom resolver, or create a validation schema on the collection(s), or something else?
Thank you, that’s what I was looking for !
As for validating user inputs on the server side do I have to use mongodb schema validation and graphql customer resolvers. Is this how I have to validate user inputs and get error messages back that I handle on forms ?
Let’s say i’m building an api and I have a userProfile endpoint. This endpoint should be able to validate and return error messages.
Or let’s say i have a user profile form on the website, I should be able to get validation error messages from graphql.