Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

validateGetOptions should prioritize key over name #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewosh
Copy link
Member

@andrewosh andrewosh commented Jul 6, 2022

Currently if you pass both name and key options to get, the name will take precedence. If the key takes precedence, then patterns like "get or create with name" become doable more easily.

EDIT: Also includes a caching test I forgot to push, but is nice to have

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant