-
Notifications
You must be signed in to change notification settings - Fork 46
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
Hidden (aka Private) attributes #91
Comments
I did some design work, which I copy/paste here:
The nested strategy makes delta operations more complicated to write without offering substantially more informaion. The sigil strategy is very compact, but introduces more UX complexity, since you have to remember what "_" means. I think the namespace strategy achieves the best balance of compactness and self-documentation. Note that this is an implicit re-definition of "~" fields from being "emo implicits" to being more generally "emo-special" in some way or another, since I think I want to leave the door open to letting writers create databus subscriptions with hidden fields included, but I don't think I want to implement it right away. Let's see if anyone actually wants it. |
What is the Issue?
I'd like to consider the notion of "private" attributes. These are defined as attributes not visible by default via the sor api, databus, or stash. API keys with write permission would be able to assert a query parameter that they wish to see private fields.
Private attributes have three main use cases that I'm aware of right now:
How to Test and Verify
Risk
Level
Medium
We are introducing a new concept to Emo. This is something we should do very, very carefully. Try to erase my use case from your mind and think about what a new user will make of this feature. Does the documentation make the intended usage obvious? Is the feature sufficiently intuitive?
Issue Checklist
Make sure to label the issue.
Well documented description of use-cases and bugs.
The text was updated successfully, but these errors were encountered: