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

ModelConverter should support collections. #11

Open
chernecov opened this issue Aug 13, 2015 · 0 comments
Open

ModelConverter should support collections. #11

chernecov opened this issue Aug 13, 2015 · 0 comments

Comments

@chernecov
Copy link
Contributor

In some cases we need to send collection of objects as action parameter.
For example - client wants to get information about 1000 entities.

[
    {"id": 1},
    {"id": 2},
    ...
]

Model converter should be able to handle that request.
As class parameter we should be able to pass this: MyCollectionClass
In that case I can get validatable collection of validatable parameter objects right in given action.

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

No branches or pull requests

1 participant