Rotem Tamir
4dbe434ce6
doc/md - contributing translations guide
2021-03-29 17:01:03 +03:00
Ariel Mashraki
c9f66cd3b4
doc/md: custom ordering example
2021-03-29 15:29:45 +03:00
chris guo
1be783632f
chore: update predicates docs about how to use predicates in subquery
2021-03-25 20:51:22 +02:00
Ariel Mashraki
d9faf21e05
doc/website: migration to docosaurus v2 ( #1384 )
...
* WIP - migrating entgo.io to docosaurus v2
* organizing pages a bit to be better suited for v2 site structure
* doc/website: finish migration to docusaurus v2
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
2021-03-24 21:48:30 +02:00
Ariel Mashraki
3773738fd5
Revert "doc/website: migrate to docusaurus v2 ( #1382 )" ( #1383 )
...
This reverts commit 21c3fa83fc .
2021-03-24 21:18:44 +02:00
Ariel Mashraki
21c3fa83fc
doc/website: migrate to docusaurus v2 ( #1382 )
...
* WIP - migrating entgo.io to docosaurus v2
* organizing pages a bit to be better suited for v2 site structure
* doc/website: finish migration to docusaurus v2
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
2021-03-24 21:16:04 +02:00
Ariel Mashraki
aee6785cba
examples/entcpkg: add codegen-hook example ( #1356 )
2021-03-19 12:29:51 +02:00
Ariel Mashraki
fc1a2a025c
doc/annotation: add cascade deletion doc and example ( #1340 )
2021-03-16 15:55:36 +02:00
Ariel Mashraki
0f7739d83b
tutorial: finish the first graphql tutorial ( #1332 )
...
* tutorial: basic crud and node api for graphql tutorial
* Update doc/md/tutorial-todo-gql.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql-field-collection.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql-field-collection.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql-node.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql-field-collection.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql-node.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql-node.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* Update doc/md/tutorial-todo-gql-paginate.md
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
* doc/tutorial: code review comments
Co-authored-by: Rotem Tamir <rotemtamir@gmail.com >
2021-03-15 11:30:09 +02:00
Ariel Mashraki
6c4d34e91b
doc/crud: field selection for update
2021-03-14 23:17:30 +02:00
Ariel Mashraki
0cd637ceb2
doc/faq: add examples how to extend the generated builders ( #1335 )
2021-03-14 14:13:02 +02:00
dilipkk-foyernet
c80af29605
Add "how to define custom types in external templates" doc to FAQ ( #1308 )
...
* Add custom types doc to faq
Added documentation on How to define custom types in external templates?
* Update faq.md
Update link for how-to-define-custom-types-in-external-templates
2021-03-14 13:44:50 +02:00
Giau. Tran Minh
17608fffd4
doc/features: fix incorrect type in example ( #1321 )
2021-03-10 14:12:48 +02:00
森 優太
e52439c5be
cmd/ent: fix //go:generate code generation to match go1.16 ( #1300 )
...
* doc: fix github link
* doc: fix Link entgo.io -> github.com/ent
* 🎉 first commit
* update go generate style
* doc: update go get to go install
* doc: update versioning with go install
* restore all
* change generate.go content
* add -mod=mod option
* add -mod=mod option
2021-03-09 22:00:33 +02:00
Ariel Mashraki
8e42041d4a
doc/tutorial: update crud page
2021-03-09 21:51:53 +02:00
Ariel Mashraki
712d0e1b53
doc/tutorial: add skeleton and initial posts ( #1317 )
2021-03-09 21:44:03 +02:00
Ariel Mashraki
a999d6c1b9
doc/edges: add link to github example ( #1314 )
2021-03-08 15:01:09 +02:00
Ariel Mashraki
00bb44f4b9
doc/edges: add section for edge-field and migration to it ( #1313 )
2021-03-08 14:46:31 +02:00
Matthew Gabeler-Lee
c53b45ddb0
all: use %w instead of %v to wrap errors ( #1275 )
...
* all: use %w instead of %v for nested errors with fmt.Errorf
* all: update generated code to use %w instead of %v for error wrapping
2021-03-03 20:05:33 +02:00
Ariel Mashraki
7bd9ba45c4
doc/faq: add question/answer for mysql spatial datatype usage ( #1280 )
2021-02-26 15:43:13 +02:00
Ariel Mashraki
794ca45435
doc: add example for edge ordering
2021-02-17 10:25:10 +02:00
Ariel Mashraki
b2f6834f67
doc: change assets path from s3 to entgo.io
2021-02-17 10:25:10 +02:00
森 優太
361663954e
doc: fix Github Link entgo.io -> github.com/ent ( #1257 )
...
* doc: fix github link
* doc: fix Link entgo.io -> github.com/ent
2021-02-16 10:40:14 +02:00
Ariel Mashraki
41c3445b95
doc: update contrib repository path to ent/contrib
2021-02-13 08:06:10 +02:00
Ariel Mashraki
d75fa8a01d
doc: update repository path to ent/ent
2021-02-13 08:06:10 +02:00
Ariel Mashraki
c5cef3cbd3
doc: add information about the generated runtime package
2021-02-12 13:44:15 +02:00
Ariel Mashraki
6d34023cd9
doc: add mariadb to supported dialects
2021-02-12 13:44:15 +02:00
Ariel Mashraki
2f24be7b30
doc: add missing import
2021-02-10 20:23:49 +02:00
Thomas Noe
1b33487eca
doc: logs created tesla ( #1251 )
2021-02-10 16:28:35 +02:00
Ariel Mashraki
a5c90ea4ca
doc/sql-integration: use dialect constants in opencensus example ( #1233 )
2021-02-03 17:52:38 +02:00
Ariel Mashraki
7c70dcb0dc
doc/graphql: fix broken links to ent-contrib
2021-02-03 11:29:56 +02:00
森 優太
4142808220
doc: fix github link ( #1229 )
2021-02-03 11:13:26 +02:00
Ariel Mashraki
dd4792f5b3
go: rename module from github.com/facebook/ent => entgo.io/ent ( #1226 )
2021-02-02 23:03:04 +02:00
Ariel Mashraki
027d72e5e0
doc/website: use s3 uri before migrating website ( #1224 )
...
This is a temporary change and will be reverted after the website will be migrated to its new place
2021-02-01 10:48:15 +02:00
Ariel Mashraki
3930d3c835
schema/field: implement field.Other ( #1218 )
...
* Implement Other Field
* Implement Other Field
* Changed dialect types
* run generate
* doc typo
* docs added
* schema/field: additional validation and tests for Other type
Co-authored-by: Ciaran Liedeman <ciaran@stackworx.io >
2021-01-31 17:43:28 +02:00
Ariel Mashraki
d87eb0ab32
doc/features: fix indentation ( #1216 )
2021-01-30 13:49:01 +02:00
Marwan Sulaiman
a85e77e5c5
doc: add documentation for the sql/schemaconfig feature ( #1215 )
...
* Add documentation for the sql/schemaconfig feature
* touch ups
2021-01-29 20:40:43 +02:00
Ariel Mashraki
75df97bd24
doc/privacy: add mutation filtering example to website
2021-01-22 23:04:09 +02:00
Travis Cline
5e4d7dcbfc
doc/graphql: extend examples section to mention the prefixed-ULID (PULID) example. ( #1200 )
2021-01-22 07:19:01 +02:00
Travis Cline
b91601eceb
docs: fix link to Annotation interface ( #1160 )
2021-01-10 23:34:49 +02:00
Ariel Mashraki
e62e5c26be
doc/faq: minor changes for default-func
2021-01-10 14:28:12 +02:00
Morgan
e4cc63c411
schema/field: add DefaultFunc for numeric types and add support for it in entc ( #1153 )
...
* entc/load: allow defaultfuncs on numeric types
* schema/field: add DefaultFunc on numeric types
* docs: document DefaultFunc better
* chore: update generated files
* pr: address issues
* docs: updates on faq, address requested changes
2021-01-10 14:05:45 +02:00
Ariel Mashraki
ab651255ee
doc/migrate: add info and examples for hooks ( #1156 )
2021-01-08 22:45:27 +02:00
Andy Day
8eda87dbc3
doc: update documentation to include naming convention ( #1144 )
...
* Update documentation to include naming convention
This change relates to my question in #1107 around naming convention for fields / edges. As a bonus, I added documentation around the StructTag method for edges, as seemed to be omitted.
* s/camel/Pascal/g
2021-01-07 23:58:38 +02:00
Ariel Mashraki
a7f899339b
doc/graphql: add example section ( #1149 )
2021-01-07 16:50:53 +02:00
Ariel Mashraki
b67cc9b135
doc/privacy: recommend using the schema/snapshot flag ( #1139 )
2021-01-06 14:31:42 +02:00
Ariel Mashraki
ad3efa7477
doc/schema: add default-func example for schema fields ( #1127 )
2021-01-04 22:54:16 +02:00
Ariel Mashraki
e60252e28b
doc: add column selection to crud page ( #1106 )
2020-12-31 06:56:50 +02:00
Ariel Mashraki
6355f5dac3
doc/fields: fix typo in storage-key example ( #1087 )
2020-12-27 13:43:22 +02:00
Ariel Mashraki
84ad6199a5
doc/graphql: add more info about entgql field collection ( #1083 )
2020-12-25 15:32:22 +02:00