-
Apart from the title,
Thanks for this!! I was wondering why aren't more people making this happen, using PHP 7.4 typed properties is an absolutely fantastic idea!!
Would it be as easy as writing…
evnix updated
4 years ago
-
## Describe the feature
When querying with struct, the released GORM will only query with non-zero fields, that means if the field’s value is 0, '', false or other [zero values](https://tour.go…
-
When you define a closure in application.groovy, Jackson fails in the /env endpoint.
### Steps to reproduce
Create a standard Grails 3.1.13 project, which only has the following things changed:
- ena…
-
I noticed an error is ignored in `(db Database) Col(name string) *Collection` at
https://github.com/diegogub/aranGO/blob/e183a93bbf438b18ae14245b7892acdd7dd3b107/database.go#L164
However if we change…
-
I'm using Grails 4.0.2 and Gorm 7.0.3. Mongo DB is configured with codec engine.
I work in a start-up that intensively use Grails with MongoDB. We are now building an architecture based on plugins an…
-
### Describe the bug
I'm using Gorm, and I have an enum backed by a `int32`. I'm trying to store it to a `Nullable(Int32)` by using a pointer to the enum value. When trying to store the row, I get …
-
### Task List
- [x] Steps to reproduce provided
- [x] Stacktrace (if present) provided
- [x] Example that reproduces the problem uploaded to Github
- [x] Full description of the issue provided (…
-
## GORM Playground Link
https://github.com/go-gorm/playground/pull/458
## Description
A query fails to create (in this example `articles`) because the `set_id` column (foreign key) is set to …
-
After upgrade grails 3.2.12 -> 3.3.9 I see on prod periodically exceptions:
> org.springframework.orm.hibernate5.HibernateOptimisticLockingFailureException: Batch update returned unexpected row cou…
-
## Your Question
Is there a way to prevent foreign keys from copying over the default value of its reference?
[In the docs]( https://gorm.io/docs/has_one.html#Override-Foreign-Key), it says:…