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

Include service offerings when listing plans #3419

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

danail-branekov
Copy link
Member

Is there a related GitHub Issue?

#3279

What is this change about?

Include service offerings when listing plans

danail-branekov and others added 2 commits August 9, 2024 13:19
`includes` and `fields` are quite similar concepts. The difference is
that `include` inludes the complete resource, while `fields` select the
fields of the resource to be included.

With this commit we abstract that difference away. `IncludedResource`
now has a `SelectJSONFields` method that allows picking the fields one
want to see in the response. Under the hood `SelectJSONFields` uses json
marshal/unmarshal, tehrefore fields selectors work on the resource json
representation.
@danail-branekov danail-branekov force-pushed the issues/3279-list-plan-include-offerings branch from a5e6c78 to cea5f69 Compare August 9, 2024 13:20
@georgethebeatle georgethebeatle merged commit 32bb2ff into main Aug 12, 2024
11 checks passed
@georgethebeatle georgethebeatle deleted the issues/3279-list-plan-include-offerings branch August 12, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants