dyne / zenpub

Reflow federated economic network
GNU Affero General Public License v3.0
13 stars 3 forks source link

API doc mention 'in_scope_of' - is it correct? #51

Open viktorsmari opened 3 years ago

viktorsmari commented 3 years ago

https://reflowos.dyne.org/docs/api_tour#look-for-all-economicevents-with-a-specific-scope

Here it mentions in_scope_of

{
  economicEventsFiltered(in_scope_of: [ID!]) {
    id
    provider {

Which gives the error:

"message": "Unknown argument \"in_scope_of\" on field \"economicEventsFiltered\" of type \"RootQueryType\"."

Note that other examples are using inScopeOf (camelcase) and not underscore _

Screenshot with suggestions, no mention of scope: 2021-05-07_12-50-28

fosterlynn commented 3 years ago

All the graphql api calls use camel case, so inScopeOf will hopefully work.

viktorsmari commented 3 years ago

All the graphql api calls use camel case, so inScopeOf will hopefully work.

I also tried that one before creating the issue, it also errors.

  "message": "Unknown argument \"inScopeOf\" on field \"economicEventsFiltered\" of type \"RootQueryType\"."
fosterlynn commented 3 years ago

I should have looked more closely at your screenshot, I'll back out and leave it to the actual devs.