Skip to content

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

@MartinX3

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. :)

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