You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're having a generation problem please answer these questions before submitting your issue. Thanks!
What version of SQLBoiler are you using (sqlboiler --version)?
v4.14.0
What is your database and version (eg. Postgresql 10)
postgres:12.2-alpine
If this happened at generation time what was the full SQLBoiler command you used to generate your models? (if not applicable leave blank)
If this happened at runtime what code produced the issue? (if not applicable leave blank)
SQLBoiler generated tests
What is the output of the command above with the -d flag added to it? (Provided you are comfortable sharing this, it contains a blueprint of your schema)
Please provide a relevant database schema so we can replicate your issue (Provided you are comfortable sharing this)
Further information. What did you do, what did you expect?
Similar to #607, some of the generated tests are erroring out with pq: encode: unknown type for types.NullDecimal. Followed instructions on https://github.com/volatiletech/sqlboiler/#diagnosing-problems to pin ericlargergren/decimal version to v0.0.0-20181231230500-73749d4874d5 which worked up till SQLBoiler v4.13.0. But seems like SQLBoiler v4.14.0 pins that library to a newer version v0.0.0-20211103172832-aca2edc11f73 which brings back the error.
The text was updated successfully, but these errors were encountered:
rajaiswal
changed the title
types.NullDecimal error in generated tests in v4.14.4
types.NullDecimal error in generated tests in v4.14.0
Jan 8, 2023
If you're having a generation problem please answer these questions before submitting your issue. Thanks!
What version of SQLBoiler are you using (
sqlboiler --version
)?v4.14.0
What is your database and version (eg. Postgresql 10)
postgres:12.2-alpine
If this happened at generation time what was the full SQLBoiler command you used to generate your models? (if not applicable leave blank)
If this happened at runtime what code produced the issue? (if not applicable leave blank)
SQLBoiler generated tests
What is the output of the command above with the
-d
flag added to it? (Provided you are comfortable sharing this, it contains a blueprint of your schema)Please provide a relevant database schema so we can replicate your issue (Provided you are comfortable sharing this)
Further information. What did you do, what did you expect?
Similar to #607, some of the generated tests are erroring out with
pq: encode: unknown type for types.NullDecimal
. Followed instructions on https://github.com/volatiletech/sqlboiler/#diagnosing-problems to pinericlargergren/decimal
version tov0.0.0-20181231230500-73749d4874d5
which worked up till SQLBoiler v4.13.0. But seems like SQLBoiler v4.14.0 pins that library to a newer versionv0.0.0-20211103172832-aca2edc11f73
which brings back the error.The text was updated successfully, but these errors were encountered: