Manyanda Chitimbo

Results 60 comments of Manyanda Chitimbo

> @machi1990 I already tried to return `ObjectID` instead of string but treeshaking didn't work well with `mongodb` package. That's why, I kept `ObjectID` scalar as it is. Hi @ardatan...

@Urigo @ardatan I gave it a try [here](https://github.com/Urigo/graphql-scalars/compare/master...machi1990:bson?expand=1) but the bundle size more than doubled. ```log ./dist/index.js: 191.88KB > maxSize 85KB (no compression) ``` Was this the approach that you...

/cc @craicoverflow, @wtrocki Automatically generated comment to notify maintainers

The idea will be to check that the string is within the given enumeration values `CHECK IN (....)`.

Not sure if that will work across different relational database, SQLite, MySQL etc. But worth a separate discussion.

SQL has check constraints e.g https://www.postgresql.org/docs/9.4/ddl-constraints.html which automatically verifies the valid of data under the given constraints. With this feature we'll be looking to support defining them via an annotation,...

Hi @lastmjs thank you for opening this issue. > I haven't tried @default with `v0.14.0` yet, but from the documentation it doesn't look like it's going to apply the default...

/cc @craicoverflow, @wtrocki Automatically generated comment to notify maintainers

Another use case https://github.com/aerogear/graphback/issues/1557#issuecomment-649464015

> I see this as a bug. It would seem strange to have to add `@unique` aswell, as you would expect the `@oneToOne` annotation to handle this. With Relational databases,...