What should this do?: assets?format=GLTF2&format=-TILT
- (current behaviour I think) All assets that EITHER have gltf2 OR have no tilt file
- All assets that have gltf2 BUT have no tilt file
Option 2 seems more useful to me and solves a use case I actually have ("I want all these formats but not if they have tilt files"). I can't think of a use case for the current behaviour..?
Extending it to multiple formats and it seems consistent to do:
- Get all the non-negative results
- Exclude the negative results
How to handle multiple negative formats types?
- OR them all together: "Exclude all assets that have tilt or blocks"
- AND: "Exclude all assets that have tilt AND blocks"
Option 1 is consistent with how the non-exclude queries work. And it seems at first glance to be more likely to be useful.
What should this do?: assets?format=GLTF2&format=-TILT
Option 2 seems more useful to me and solves a use case I actually have ("I want all these formats but not if they have tilt files"). I can't think of a use case for the current behaviour..?
Extending it to multiple formats and it seems consistent to do:
How to handle multiple negative formats types?
Option 1 is consistent with how the non-exclude queries work. And it seems at first glance to be more likely to be useful.