-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
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
Do not stringify object rows, skip over them instead #30
Comments
Some advantages of the current behaviour is that it is obvious what is present within the field, and makes it easier to implement a A possibly disadvantage @dextermb brought up is that if a relationship is added to a model, its content, which could contain private information, would be immediately rendered in the table. Ideally, we should output something that makes it obvious the column is not empty, but does not reveal private information. Perhaps we could blank out all values, or replace their content with asterisks, leaving the keys intact, then stringify as is? |
Perhaps we go through and make the values
|
Extra thoughts, @NilesB @JacobBrassington @wheatleyjj @ash123456789 |
Shouldn't data that should be redacted never make it to the front end? |
This issue is, that if someone were to use |
@JacobBrassington You're very right, it shouldn't. The functionality being discussed is just an extra fail safe to ensure that even if it does somehow reach the frontend, it is not immediately displayed to casual users. |
Currently within the source object/array get stringified. I propose mapping these to
null
and then filtering columns inrender
.Original:
New:
Thoughts?
The text was updated successfully, but these errors were encountered: