Roger Stringer
Roger Stringer
Directus handles this well, I agree with the customers or account table to associate orders, etc and then using the Directus native auth.
@azrikahar I have a few ideas about this, will vary based on stack of course but zod is useful for checking env vars
Yeah zod or envalid, where envalid is specifically for env vars, so will pick one. The fresh example currently uses envalid but once I choose one I'll update them all...
@rijkvanzanten can I get a second look at this PR please? where I've moved the `_some` and `_none` only works during relationships now
Ok, will revisit, probably need to add a check for relationship level so it's applied only at the first level and not further down.
just enforced that `_some` and `_none` only work on relationships. Testing ``` { restaurant( filter: {dishes: {_none: {_none: {_none: {available: {_eq: false}}}}}} ) { name } } ``` already fails...
Yeah it should fail with validation so will see why schema lets it pass.
So currently, trying to add `_some` or `_none` outside the proper collection will fail validation.  Working on now making it only allow...
I've added a check if `_some` / `_none` appear beyond top level, but otherwise, there's not much else I can see we can do here, it won't run if you...