Ola Okelola

Results 72 issues of Ola Okelola

we currently support scalars but it's not well documented. don't support directives

graphql

instead of `canViewerSee`, `canViewerDo`, `canViewerEdit` etc might make sense to have a configurable `__metadata` field that developer can hook into to add their own types|fields which returns fields and values...

https://ent.dev/docs/advanced-topics/configuration

documentation

what privacy policy should we use when `viewerForEntLoad` + `editPrivacyPolicy` have conflicting permissions. probably a wontfix but need to think about this e.g. using a viewer which overwrites permissions to...

formation

if you have an edge that ends with s, we generate `addFoo`, `removeFoo` accessors on builder by guessing what the singular version of the edge is we end up with...

schema
language
formation

e.g. without `name: 'articles'` at https://github.com/lolopinto/ent/blob/0c11b175f617a10da89d36e5eebec3e5def94447/examples/simple/src/schema/comment_schema.ts#L23 we get the following error: ``` tsent codegen INFO [alembic.runtime.migration] Context impl PostgresqlImpl. INFO [alembic.runtime.migration] Will assume transactional DDL. checking for custom graphql definitions......

e.g. in generated code that expects a `User`, type as `UserBase` instead of User. place holder issue that will be linked to in codebase

more often than not, no actual step was written to the db and can just delete the file but will be nice to handle this correctly especially if there's multiple...

auto_schema
db

doesn't seem like it's possible. maybe we want it? ```sql sql (14.7 (Homebrew)) Type "help" for help. ola=# \d+ users Table "public.users" Column | Type | Collation | Nullable |...

db

* detect when language, weights, columns change etc and either allow it like https://github.com/lolopinto/ent/pull/1442 or explicitly throw an error, saying it's not allowed * https://github.com/lolopinto/ent/issues/1441 will handle it for the...