Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

@Representer should bug when list is passed #6

Description

@driescroons

Noticed an issue in valcori when trying to return a list representation, with incorrect decorator on the controller fn, it returns a tupil to FE. Shouldn't this error?

Notice how it returns a tupil (assume getUserOrganizations returns [items, count])
image

Notice how it represents the tupil
image

I feel like this should throw an error within the representer, since we have an arrayRepresenter. Otherwise arrayRepresenter is pretty stupid to have?

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