Message of the day:
Anything GraphQL and SilverStripe related.
likes GraphQL. The same API, but not the hassle of REST or SOAP
can you call
$member->obj('isAdmin')? That's the magic that the scaffolder is using
There is checking server side, but I don't want to expose to clients unnecessarily
DataObjectScaffolder line 683
If it wasn't a valid field, the scaffolder would throw
If there's a more sensible way to let the react client know the user is an admin, I'm all ears too
are all the other fields added?
can I see the scaffolding code?