Queries on aliased/provider fields are broken for nested properties #282
Labels
bug
Something isn't working
priority/high
Issue or PR with a consensus of high priority
server
Issues pertaining to the example server implementation
transformers
Related to all filter transformers
If a user tries to filter against an implementation-specific field, they currently have to exclude the provider prefix. We should use the mappers to adjust filters on provider-specific properties so that the query is on the correct field.
e.g.
https://optimade.odbx.science/v0/structures?filter=_odbx_dft_parameters.cut_off_energy=800
returns nothing,and instead
https://optimade.odbx.science/v0/structures?filter=dft_parameters.cut_off_energy=800
is required to get the expected result.The text was updated successfully, but these errors were encountered: