mayteio / ra-aws-amplify

🎩 Create backends for your aws-amplify project at the speed of light with react-admin
MIT License
42 stars 7 forks source link

Better errors when conventional query names are not matched #14

Closed mayteio closed 4 years ago

mayteio commented 4 years ago

When using a many to many connection, it's important your @key definitions match a certain queryField for ra-aws-amplify to connect everything under the hood.

Other than the documentation, there is no real way to know what these conventions are. It'd be great if no query is matched, for example, in GET_MANY_REFERENCE buildGqlQuery there's a helpful warning that explains why no query was matched.

mayteio commented 4 years ago

Done!