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
Based on this discussion, regarding officially supporting the possibility to pass multiple key-value pairs to the find method of countries and legislatures, do we want to offer the possibility of:
1. searching for a country or legislature by more than one field at the same time?, for example:
In cases 2. and 3., it would be nice to simplify the code to the behaviour we want. For example, if we only support 3., one possible simplification (for legislatures) could be:
Based on this discussion, regarding officially supporting the possibility to pass multiple key-value pairs to the
find
method of countries and legislatures, do we want to offer the possibility of:1. searching for a country or legislature by more than one field at the same time?, for example:
2. or would we only support searching by several fields but just one at a time? For example:
3. or just by slug?
In cases 2. and 3., it would be nice to simplify the code to the behaviour we want. For example, if we only support 3., one possible simplification (for legislatures) could be:
with:
This would also be more in line with how we documented the code in the README, where we are telling people to pass the slug to the method.
The text was updated successfully, but these errors were encountered: