* Added privateAttributes globally and per model
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Added tests for sanitizeEntity
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Fixed broken test
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Added privateAttributes to GraphQL responses
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Added docs for privateAttributes
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Refactored and fixed PR comments
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Merged tests and fixed broken tests from merge
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Updated documentation for new option
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Refactored GraphQL implementation
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Fixed PR comments
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Fixed tests for sanitize-entity
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Removed code and tests for ignorePrivateFor
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Exported getPrivateAttributes for GraphQL plugin
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Removed ignorePrivateFor from docs
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* feat(server): allow listening on unix socket through `server.socket` configuration
Signed-off-by: Adam Lee <duo1123@gmail.com>
* docs(server): documentation for socket config
Signed-off-by: Adam Lee <duo1123@gmail.com>
* Updated Models Page Grammar
Quickly went through the models' page in the documentation and updated some grammar as well as added some emphasis and brief clarification in a couple of places.
* Edited slight typo.
* Updated Models Page Grammar
Quickly went through the models' page in the documentation and updated some grammar as well as added some emphasis and brief clarification in a couple of places.
Signed-off-by: Christopher Wray <53663762+cwray-tech@users.noreply.github.com>
* Edited slight typo.
Signed-off-by: Christopher Wray <53663762+cwray-tech@users.noreply.github.com>
The default SingleType service doesn't have an findOne() function only find().
See https://github.com/strapi/strapi/issues/7718 for details
Signed-off-by: Amir Lellouche <lalosher@gmail.com>
* Add more information about the parser middleware configuration
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
* fix integer case
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
Added missing explanation on how to set the "Content-Security-Policy"(csp) header value
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>