Commit Graph

11 Commits

Author SHA1 Message Date
Rikin Kachhia
afc2331951
update docs (#2023)
* add missing column error to troubleshooting
* update subscription headers section
* docs for using {} expression
* fix create foreign-key section
2019-04-17 19:07:42 +05:30
Rikin Kachhia
c35753932f
update docs (#1696) 2019-03-06 14:28:04 +05:30
Anon Ray
02d80c9ac6 read cookie while initialising websocket connection (fix #1660) (#1668)
* read cookie while initialising websocket connection (fix #1660)

* add tests for cookie on websocket init

* fix logic for tests

* enforce cors, and flag to force read cookie when cors disabled

  - as browsers don't enforce SOP on websockets, we enforce CORS policy
  on websocket handshake
  - if CORS is disabled, by default cookie is not read (because XSS
  risk!). Add special flag to force override this behaviour

* add log and forward origin header to webhook

  - add log notice when cors is disabled, and cookie is not read on
  websocket handshake
  - forward origin header to webhook in POST mode. So that when CORS is
  disabled, webhook can also enforce CORS independently.

* add docs, and forward all client headers to webhook
2019-03-04 13:16:53 +05:30
Tirumarai Selvan
aa36fc68d7 update docs community urls (#1402) 2019-01-17 19:02:56 +05:30
Gordon Johnston
ebf98281a5 docs: multiple root fields in subscription was removed (#1264)
In alpha33 the support for multiple root fields in a subscription was removed.
2018-12-24 12:31:17 +05:30
Rikin Kachhia
8de12d5bcd
add table of contents to docs pages (#1115) 2018-12-03 17:42:24 +05:30
Shahidh K Muhammed
c985a6d1ed
update demo app links (#1122) 2018-11-27 16:01:56 +05:30
Rakesh Emmadi
b6773b36cd add aggregations docs (close #988) (#991)
* add aggregations docs

* add statistical aggregate functions

* change aggregation query page title

* fix api reference pages syntax bugs

* update query derived data docs page

* add better examples for aggregation docs
2018-11-15 17:13:03 +05:30
Rakesh Emmadi
f6ed169219 allow ordering using columns from object relationships (closes #463) (#672)
* allow ordering using columns from object relationships, close #463

* validate table fields in nested insert

* add tests

* add docs

* change 'table_order_by' type from enums to ordered map

* remove unwanted code from 'Schema.hs' file

* 'AnnGObject' is not list of field name and value tuple

* update docs for new order_by type

* use 'InsOrdHashMap' for 'AnnGObj'

* handle empty fields in order_by

* remove '_' prefixes for asc/desc

* fix the changed order_by syntax across the repo
2018-10-26 17:27:33 +05:30
Rikin Kachhia
d2decec32b update docs (#441)
* docs: update custom resolvers docs

* docs: update mono repo links
2018-09-13 18:45:34 +05:30
Shahidh K Muhammed
d3d9845497
merge docs into main repo (close #397) (#398) 2018-09-11 16:41:24 +05:30