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

Platform query exposes sorting by LicenseKey #3

Open
mtargonski opened this issue Sep 22, 2021 · 0 comments
Open

Platform query exposes sorting by LicenseKey #3

mtargonski opened this issue Sep 22, 2021 · 0 comments

Comments

@mtargonski
Copy link

Hi,
I found out after looking at you YT video, that schema exposes the LiceseKey for sorting.
It is suggested to you when typing, and I verified that is does work as one should expect.

But, I think that this is leaking domain model to our GraphQL models (types) as we have choosen to ignore that field.

Is there an OOTB way to hide that field from ordering ?
I assume it is there as the GetPlatform-Query returns the domain object Platform, not the PlatformType; but how should the code be modified? Can we return the PlatformType as a result in Query, how should the binding to DbContext look like than

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

No branches or pull requests

1 participant