Skip to content

[Question] UserDataFetcher.java -> List<Role> getRoles(User user) #26

Description

@MartinX3

UserDataFetcher.java -> List getRoles(User user)
Why does it return

return Arrays.asList(new Role(1, "Admin"));

instead of accessing the RoleDataFetcher.java?

:)

Edit:
I mean, it would be a better example and easier to understand, how to get subfields. :)

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions