You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding a field to an empty Form.List, hitting Filter, removing that very field, and hitting Filter again, the value of that last field is passed as variable to the GraphQL query requested by *Query.refetch, although it is not given as parameter to *Query.refetch. This is only a problem when after removing the field the Form.List is empty, that is, there is no other proposition present. The most relevant code snippet is https://github.com/ise621/database/blob/e23f0107668b1da5d2a304d1135c79d4cde6d2e3/frontend/pages/data/optical.tsx#L264-L270
This happens for example on the page /data/optical with Nearnormal hemispherical solar reflectance propositions. To see the actual GrapQL query requested from the server use the Network tab of the Web Developer Tools.
After adding a field to an empty
Form.List
, hittingFilter
, removing that very field, and hittingFilter
again, the value of that last field is passed as variable to the GraphQL query requested by*Query.refetch
, although it is not given as parameter to*Query.refetch
. This is only a problem when after removing the field theForm.List
is empty, that is, there is no other proposition present. The most relevant code snippet is https://github.com/ise621/database/blob/e23f0107668b1da5d2a304d1135c79d4cde6d2e3/frontend/pages/data/optical.tsx#L264-L270This happens for example on the page
/data/optical
withNearnormal hemispherical solar reflectance
propositions. To see the actual GrapQL query requested from the server use the Network tab of the Web Developer Tools.Maybe the following documentations can shed some light on the issue https://www.apollographql.com/docs/react/api/core/ObservableQuery/#ObservableQuery.refetch and https://www.apollographql.com/docs/react/data/refetching/
The text was updated successfully, but these errors were encountered: