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
Note that `util::Providers` implements `DerefMut` to `query::Providers` so callers of the `provide` functions can pass in a `util::Providers` and it will just work for provider functions that accept `query::Providers` too
172
-
173
-
- This function takes a mutable reference to the `query::Providers` struct and sets the fields to point to the correct provider functions.
174
-
- You can also assign queries individually, e.g. `providers.type_of = type_of;`.
175
-
- You can assign fields individually for each provider type (local, external, and hooks).
176
-
177
171
#### Adding a new provider
178
172
179
173
Suppose you want to add a new query called `fubar`.
0 commit comments