Skip to content

Add support function to extract value from a given attribute name #30

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

Open
zmeda opened this issue Mar 4, 2016 · 1 comment
Open

Add support function to extract value from a given attribute name #30

zmeda opened this issue Mar 4, 2016 · 1 comment

Comments

@zmeda
Copy link
Contributor

zmeda commented Mar 4, 2016

Nice to have. Helper function like:

val attrs: Attributes = ???
val myAttrValue: JsonApiObject.Value = attrs !> "myAttrName"
val myAttrValueOpt: Option[JsonApiObject.Value] = attrs ?> "myAttrName"
@zmeda
Copy link
Contributor Author

zmeda commented Mar 4, 2016

The only concern I have is "deep" we want to go in the attribute hierarchy. Only first level? All levels?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants