Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Think of a way to provide attributes to the REST calls #7

Open
sobolevn opened this issue Apr 23, 2017 · 0 comments
Open

Think of a way to provide attributes to the REST calls #7

sobolevn opened this issue Apr 23, 2017 · 0 comments
Assignees

Comments

@sobolevn
Copy link
Member

Some of the resource accept additional arguments like: person.age(minimum=18, maximum=45)
This is solved by graph-ql easily.

But we need a way to provide these arguments to REST.

I see two ways of doing that:

  1. pop lang query param from the params and then pass the whole array down to the resource itself
  2. use accept-language header for the lang and use query params directly with no hacks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants