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
When I search in a non-HTTP client created from a tree instance, the Contains query return an empty set, where if I run the same search using Eq, then I get the correctly filtered entries.
Two of the entries have "color": "red" in their metadata. I should be able to find these.
The following works as expected and returns these two entries:
client.search(Eq("color", "red"))
Expected Result
I expect the follow query to result in the same result as Eq, since "red" does contain "red". This is the result I get if I try to use Contains with a catalog-backed HTTP Tiled server.
Tested with Tiled 0.1.0b7, Tiled 0.1.0b10, and Tiled 0.1.0b13.
Context
We use a non-HTTP client for running our unit tests. The code under test is working correctly when used with a full Tiled server backed by a catalog, but the test-suit fails because the Contains query in the COT is not returning the results we expect.
Previously, we didn't notice because we used a Regex query instead. With the move to Catalog based storage for Bluesky, we've switched to use the Contains query until the regex support is available.
When I search in a non-HTTP client created from a tree instance, the Contains query return an empty set, where if I run the same search using
Eq
, then I get the correctly filtered entries.Description
I'm following the documentation for creating a client from a (service-side) tree instance, except using
tiled.examples.generated
instead of minimal example.Two of the entries have
"color": "red"
in their metadata. I should be able to find these.The following works as expected and returns these two entries:
Expected Result
I expect the follow query to result in the same result as
Eq
, since "red" does contain "red". This is the result I get if I try to use Contains with a catalog-backed HTTP Tiled server.Actual Result
The following queries are empty.
Tested with Tiled 0.1.0b7, Tiled 0.1.0b10, and Tiled 0.1.0b13.
Context
We use a non-HTTP client for running our unit tests. The code under test is working correctly when used with a full Tiled server backed by a catalog, but the test-suit fails because the
Contains
query in the COT is not returning the results we expect.Previously, we didn't notice because we used a Regex query instead. With the move to Catalog based storage for Bluesky, we've switched to use the
Contains
query until the regex support is available.Minimum Working Example
results in the following output.
The text was updated successfully, but these errors were encountered: