Add homebrew field to generatePokemon request. The field will accept an array of PokedexEntry.
Any filters used need to be performed against the Homebrew entries as well.
If false is sent in to pokedex, then do not retrieve any entries from the database.
If false is sent in to pokedex and only one entry was provided to homebrew, then bypass filters and just generate using the provided entry.
If false is sent into pokedex and no entries were provided in homebrew, then thrown a 400 error with message "Homebrew entries must be provided if Pokedex is set to FALSE."
Add
homebrew
field togeneratePokemon
request. The field will accept an array ofPokedexEntry
.Any filters used need to be performed against the Homebrew entries as well.
If
false
is sent in topokedex
, then do not retrieve any entries from the database.If
false
is sent in topokedex
and only one entry was provided tohomebrew
, then bypass filters and just generate using the provided entry.If
false
is sent intopokedex
and no entries were provided inhomebrew
, then thrown a 400 error with message "Homebrew entries must be provided if Pokedex is set to FALSE."