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
Hi,
I have a query that was previously returning IEnumerable<EntityType>. It uses a custom Hotchocolate Filter Convention to do Case Insenstive contains and it works.
Now I changed the query to return IExectuable<EntityType>. This uses the Hotchocolate.Data.MongoDb package and is used with a scope as explained in https://chillicream.com/docs/hotchocolate/v13/integrations/mongodb. However I see that the query now does not do case insensitive contains. I have applied collation with strength = 2 (case insensitive compare) as a filter option in Find.
DI: [Note some queries are still using hotchocolate filtering, hence both AddFiltering and AddMongoDbFiltering are present]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I have a query that was previously returning
IEnumerable<EntityType>
. It uses a custom Hotchocolate Filter Convention to do Case Insenstivecontains
and it works.Now I changed the query to return
IExectuable<EntityType>
. This uses theHotchocolate.Data.MongoDb
package and is used with a scope as explained in https://chillicream.com/docs/hotchocolate/v13/integrations/mongodb. However I see that the query now does not do case insensitivecontains
. I have applied collation with strength = 2 (case insensitive compare) as a filter option inFind
.DI: [Note some queries are still using hotchocolate filtering, hence both
AddFiltering
andAddMongoDbFiltering
are present]Query:
Test query: (does not produce results as the actual tagNames contains "Server")
Beta Was this translation helpful? Give feedback.
All reactions