Skip to content
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

Add direct navigation to entity properties #58

Open
davidmoten opened this issue Oct 6, 2020 · 0 comments
Open

Add direct navigation to entity properties #58

davidmoten opened this issue Oct 6, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@davidmoten
Copy link
Owner

Instead of calling

Optional<String> name = client.me().select("displayName").get().getDisplayName()

we should be able to call

Optional<String> name = client.me().displayName().get();

Mentioned first in #57. The specification for this is at https://docs.oasis-open.org/odata/odata/v4.01/os/part1-protocol/odata-v4.01-os-part1-protocol.html#_Toc31358939.

@davidmoten davidmoten added the enhancement New feature or request label Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant