It may be not so obvious, but you don’t need string to be with minimum length. You need password to be minimum length.
And this leads us two 2 different solutons:
-
You can create GraphQL type Password, it’s easily achieved with Absinthe library itself.
-
You can pass password as string, but validate it on your business logic. This can be done with your Ecto structures.






















