Skip to content

Commit

Permalink
Don't return valid queryable object for invalid collection (#145)
Browse files Browse the repository at this point in the history
* Return null for queryables for unknown collections

Don't generate valid queryables for collections which don't exist in the
database.

* 0.6.10

* add changelog, use exists to determine if collection exists for queryables

Co-authored-by: David Bitner <[email protected]>
  • Loading branch information
mmcfarland and bitner authored Oct 25, 2022
1 parent 2418006 commit e4ba4ee
Show file tree
Hide file tree
Showing 7 changed files with 3,094 additions and 20 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [v0.6.10]

### Fixed
- Makes sure that passing in a non-existing collection does not return a queryable object.

## [v0.6.9]

Expand Down
Loading

0 comments on commit e4ba4ee

Please sign in to comment.