Filtering
Last updated
Last updated
Next we will add filtering to the users query, so we can filter on fields provided in the entity.
This is simply done by adding .UseFiltering()
on the field we want to filter, like seen on below.
Now we can run the server again and test what we have added. Reading the schema documentation you can see the filtering capabilities added to users query.
Lets test the filtering with the following query in the playground.
If everything went well you should see the following response.