Commit Graph

25 Commits

Author SHA1 Message Date
Takafumi Umemoto
bf45b2f2b0 doc/faq: fix typo in sonyflake example (#1743) 2021-07-19 21:26:50 +03:00
Ariel Mashraki
7869e83a10 entc/integ: add test case for #1654 2021-06-24 12:01:51 +03:00
Tarrence van As
fd19261f58 doc/faq: add big.Int example (#1649)
* Add custom precision numeric field example

* fix formatting
2021-06-21 17:58:51 +03:00
Ariel Mashraki
a817be4143 doc/faq: document check(s) constraint annotation 2021-06-20 15:54:34 +03:00
Ariel Mashraki
4ebbc0cd55 doc/faq: mention gqlgen integration for xid 2021-05-16 17:55:04 +03:00
Shane Hanna
8cf853e4dc Add github.com/rs/xid usage to FAQ documentation. (#1542)
* Add github.com/rs/xid usage to FAQ documentation.

Package xid is a globally unique ID generator library that uses the
Mongo Object ID algorithm to generate 12 byte, 20 character IDs
with no configuration.

* Fix FAQ index wrapping.
2021-05-09 17:59:36 +03:00
Rotem Tamir
be1b8fd8a3 doc/md/faq: document how to store protobuf objects in a blob column. Fixes #1422 2021-04-07 14:10:01 +03: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
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
Ariel Mashraki
7bd9ba45c4 doc/faq: add question/answer for mysql spatial datatype usage (#1280) 2021-02-26 15:43:13 +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
dd4792f5b3 go: rename module from github.com/facebook/ent => entgo.io/ent (#1226) 2021-02-02 23:03:04 +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
08d2cd797d doc/faq: add mysql datetime example (#1080) 2020-12-24 17:58:47 +02:00
Ariel Mashraki
d84e6eb6fe doc: minor format changes to code blocks (#976) 2020-11-23 16:11:23 +02:00
Mysh!
66ceccb679 doc: added inet example in faq (#973) 2020-11-23 09:30:47 +02:00
Ariel Mashraki
c1de826324 doc: add inet-types to faq page (#972) 2020-11-22 10:21:56 +02:00
Ariel Mashraki
0faef7013d doc: add example for adding prediactes to codegen assets 2020-11-03 11:57:31 +02:00
Ariel Mashraki
8099df68bc doc: add custom predicates info to faq page 2020-11-03 11:57:31 +02:00
Ariel Mashraki
404e5b3f38 doc: add the audit-logger example for faq page (#913)
See #830
2020-11-03 10:56:58 +02:00
Ariel Mashraki
dc672bf18b docs: initial version of faq page (#911)
* docs: initial version of faq page

See #832
2020-11-02 12:16:21 +02:00