We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In my User model I have protected $gdprVisible = ['name', 'email'];, yet in the JSON output I see
User
protected $gdprVisible = ['name', 'email'];
{"id":22,"name":"John Doe","email":"john.doe@testemail.com","created_at":"2018-07-09 14:52:02","updated_at":"2018-07-09 14:52:02","stripe_id":null,"card_brand":null,"card_last_four":null,"trial_ends_at":null,"provider":null,"provider_id":null}
The docs say that anything NOT in the white-list will be hidden, but I don't see this as being the case.
Also, any models included via relationship are also displaying their entire contents.
The text was updated successfully, but these errors were encountered:
f27d62e
sander3
No branches or pull requests
In my
User
model I haveprotected $gdprVisible = ['name', 'email'];
, yet in the JSON output I see{"id":22,"name":"John Doe","email":"john.doe@testemail.com","created_at":"2018-07-09 14:52:02","updated_at":"2018-07-09 14:52:02","stripe_id":null,"card_brand":null,"card_last_four":null,"trial_ends_at":null,"provider":null,"provider_id":null}
The docs say that anything NOT in the white-list will be hidden, but I don't see this as being the case.
Also, any models included via relationship are also displaying their entire contents.
The text was updated successfully, but these errors were encountered: