graphql-engine/server/src-lib/Hasura/RQL/DDL/Schema
Rakesh Emmadi dc31b835e1
allow reusing Postgres scalars in custom types & actions (close #4125) (#4333)
* allow re-using Postgres scalars in custom types, close #4125

* add pytest tests

* update CHANGELOG.md

* add a doc pointer for reusable postgres scalars

* document the code, improve the CHANGELOG entry

As suggested by @lexi-lambda

* a bit more source code documentation, use WriterT to collect reused scalars

* Apply suggestions from code review

Co-Authored-By: Marion Schleifer <marion@hasura.io>

* improve doc for Postgres scalars in custom graphql types

* Add some more references to Note; fix Haddock syntax

Also a few very minor tweaks:
  * Use HashSet instead of [] more pervasively
  * Export execWriterT from Hasura.Prelude
  * Use pattern guards in multi-way if
  * Tweak a few names/comments

* Pull buildActions out of buildAndCollectInfo, use buildInfoMap

* Tweak wording in documentation

* incorporate changes in console code

* account Postgres scalars for action input arguments

-> Avoid unnecessary 'throw500' in making action schema

* Review changes

Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-04-15 17:33:13 +05:30
..
Cache option to reload remote schemas in 'reload metadata' (fix #3792, #4117) (#4141) 2020-03-26 17:22:20 +05:30
Cache.hs allow reusing Postgres scalars in custom types & actions (close #4125) (#4333) 2020-04-15 17:33:13 +05:30
Catalog.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Diff.hs Add caching for recreating event trigger functions 2020-01-08 16:45:46 -06:00
Enum.hs Add caching for recreating event trigger functions 2020-01-08 16:45:46 -06:00
Function.hs Improve performance of replace_metadata on tracking tables. Closes #3802 (#4182) 2020-03-31 19:30:12 +05:30
Rename.hs Add check expresion to update permissions (close #384) (#3804) 2020-02-13 13:08:49 +05:30
Table.hs Improve performance of replace_metadata on tracking tables. Closes #3802 (#4182) 2020-03-31 19:30:12 +05:30