gbif / gbif-web

Apache License 2.0
6 stars 9 forks source link

useQuery hook not working #530

Closed MortenHofft closed 1 month ago

MortenHofft commented 1 month ago

I suspect the hook has been changed to accomodate for typescript. And in such a way that it is now a requirement to register ones queries at build time? @danielvdm2000 you are the one that will know what have changed from the previous implementation.

It fails if the queryId is unknown. Then it fails to do a post instead, but throws an error instead

MortenHofft commented 1 month ago

Ahh - I see that there is a requirement to use operation names. That solves it.