Skip to content

Commit

Permalink
Ch295/crud programs (#87)
Browse files Browse the repository at this point in the history
* Add queryProgram

* Add createProgram + update gql schema

* [WIP] updateProgram

* Add deleteProgram, update gql schema and programQuery

* [WIP] Update resolver soft-deletes to use instance methods

* Cleanup deleteDataset mutation

* Clean up deleteRecord mutation

* Making tagids required

* Update programQuery to use class method

* Update deleteRecord tests to use class method

* Add class and instance methods

* Update program and categoryVal to use class and instance methods

* Update categoryValueQuery to handle soft-deletes

* Add createProgram test + seed data mod

* Add createProg no perm test

* Add deleteProgram test

* Update deleteProgram and Dataset tests to use class method
Add class method to Category and update tests/cleanup

* Update deleteCat noperm test to use class methods

* Update deleteCat test to use class methods

* Update deleteCatValNoPerm test to use class methods

* Add queyProgram test

* Add additional test coverage for queryProgram

* Add updateProgram test

* Add updatePrograms to team member permissions

* Add UUID type coercion for tests

* Add test coverage

* Add test coverage

* Cleaning up queries- simplify to use class methods

* Cleaning up deleteCat

* Add test coverage for cascade soft-deletes

* Add conditional to deletes

* Remove updateProgram team permissions

* Cleaning up comments
  • Loading branch information
nmanduj1 committed Jul 9, 2021
1 parent 9cd8a51 commit 2c814fb
Show file tree
Hide file tree
Showing 6 changed files with 554 additions and 96 deletions.
Loading

0 comments on commit 2c814fb

Please sign in to comment.