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

Managing arrays of complex types in query string #410

Closed
BrianGenisio opened this issue Sep 12, 2013 · 1 comment
Closed

Managing arrays of complex types in query string #410

BrianGenisio opened this issue Sep 12, 2013 · 1 comment

Comments

@BrianGenisio
Copy link

I need to handle passing an array of complex types via the query string.

When I send parameters like this to the server, it will be in this form:

?thing[0].foo=firstFoo&thing[0].bar=firstBar&thing[1].foo=secondFoo&thing[1].bar=secondBar

I can't figure out how to receive these parameters using angular-ui router. Is there a way to do this? Or does the library need to be extended?

I can get arrays of simple types... ?thing=7&thing=8 will give me "7,8" for thing. I might be able to separate my properties this way and zip them together. Might there be a better way?

@nateabele
Copy link
Contributor

This is actually already on the roadmap. Keep an eye on #373 and #125. Thanks.

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

No branches or pull requests

2 participants