graphql-engine/cli/commands
Rakesh Emmadi 9bd5826020 allow customising graphql schema for a table (close #981) (#2509)
* allow customizing GraphQL root field names, close #981

* document v2 track_table API in reference

* support customising column field names in GraphQL schema

* [docs] add custom column fields doc in API reference

* add tests

* rename 'ColField' to 'ColumnField'

* embed column's graphql field in 'PGColumnInfo'

-> Value constructor of 'PGCol' is not exposed
-> Using 'parseJSON' to construct 'PGCol' in 'FromJSON' instances

* avoid using 'Maybe TableConfig'

* refactors & 'custom_column_fields' -> 'custom_column_names'

* cli-test: add configuration field in metadata export test

* update expected keys in `FromJSON` instance of `TableMeta`

* use `buildSchemaCacheFor` to update configuration in v2 track_table

* remove 'GraphQLName' type and use 'isValidName' exposed from parser lib

* point graphql-parser-hs library git repo to hasura

* support 'set_table_custom_fields' query API & added docs and tests
2019-09-19 10:17:36 +05:30
..
completion.go fix bash completion example docs on cli (#1832) 2019-03-28 07:28:20 +05:30
console_test.go optimise migrate api for console on cli (#2895) 2019-09-18 11:06:16 +05:30
console.go optimise migrate api for console on cli (#2895) 2019-09-18 11:06:16 +05:30
docs.go cli: add new install script, commands (#1556) 2019-02-05 18:21:21 +05:30
help.go cli: add new install script, commands (#1556) 2019-02-05 18:21:21 +05:30
init_test.go rename access-key to admin-secret (close #1347) (#1540) 2019-02-14 15:07:47 +05:30
init.go rename access-key to admin-secret (close #1347) (#1540) 2019-02-14 15:07:47 +05:30
metadata_apply_test.go accept a json or yaml file for metadata apply command (close #1698) (#1746) 2019-03-20 10:40:06 +05:30
metadata_apply.go optimise migrate api for console on cli (#2895) 2019-09-18 11:06:16 +05:30
metadata_clear_test.go rename metadata reset to metadta clear (close #1851) (#1893) 2019-03-29 10:44:56 +05:30
metadata_clear.go optimise migrate api for console on cli (#2895) 2019-09-18 11:06:16 +05:30
metadata_export_test.go accept a json or yaml file for metadata apply command (close #1698) (#1746) 2019-03-20 10:40:06 +05:30
metadata_export.go optimise migrate api for console on cli (#2895) 2019-09-18 11:06:16 +05:30
metadata_reload_test.go accept a json or yaml file for metadata apply command (close #1698) (#1746) 2019-03-20 10:40:06 +05:30
metadata_reload.go optimise migrate api for console on cli (#2895) 2019-09-18 11:06:16 +05:30
metadata.go rename metadata reset to metadta clear (close #1851) (#1893) 2019-03-29 10:44:56 +05:30
migrate_apply_test.go added feedback on migration commands (close #1410) (#1931) 2019-04-03 16:59:58 +05:30
migrate_apply.go optimise migrate api for console on cli (#2895) 2019-09-18 11:06:16 +05:30
migrate_create_test.go added feedback on migration commands (close #1410) (#1931) 2019-04-03 16:59:58 +05:30
migrate_create.go optimise migrate api for console on cli (#2895) 2019-09-18 11:06:16 +05:30
migrate_status_test.go rename access-key to admin-secret (close #1347) (#1540) 2019-02-14 15:07:47 +05:30
migrate_status.go optimise migrate api for console on cli (#2895) 2019-09-18 11:06:16 +05:30
migrate_test.go allow customising graphql schema for a table (close #981) (#2509) 2019-09-19 10:17:36 +05:30
migrate.go optimise migrate api for console on cli (#2895) 2019-09-18 11:06:16 +05:30
root.go add flag to disable ci colors (close #2072) (#2634) 2019-07-30 06:55:38 +00:00
update-cli.go fix some typos in cli (#2708) 2019-08-10 17:13:45 +00:00
version.go rename access-key to admin-secret (close #1347) (#1540) 2019-02-14 15:07:47 +05:30