datopian / data-api

Next generation Data API for data management systems including CKAN.
https://tech.datopian.com/data-api/
MIT License
9 stars 3 forks source link

[resource_search][m] - fix timeout when hasura instance has auth #32

Closed luccasmmg closed 1 year ago

luccasmmg commented 1 year ago

Now we can set the admin key as an env variable, then it will be added to the headers, i also upgrade some dependencies, there is a breaking change, which is this line right here

    where: {
        ${whereFields.join(' ')}
      },

Which i removed, the reason being that i was getting this error, for basically every type, even when the data didnt have any null values, not too sure on why that was happening, but that code doesnt seems to be used at least from looking at the documentation

"message":"unexpected null value for type 'numeric'"}