Skip to content

Platform query exposes sorting by LicenseKey #3

Description

@mtargonski

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions