[v1.0.30] Code breaks after upgrade from v1.0.26
See original GitHub issueCode repo working on v1.0.26
breaks on v1.0.30
with following error.
error: TS2322 [ERROR]: Type 'typeof User' is not assignable to type 'typeof Model'.
Types of property 'pivot' are incompatible.
Type 'import("https://deno.land/x/denodb@v1.0.27/lib/model.ts").ModelPivotModels' is not assignable to type 'import("https://deno.land/x/denodb@v1.0.26/lib/model.ts").ModelPivotModels'.
Index signatures are incompatible.
Type 'typeof import("https://deno.land/x/denodb@v1.0.27/lib/model-pivot.ts").PivotModel' is not assignable to type 'typeof import("https://deno.land/x/denodb@v1.0.26/lib/model-pivot.ts").PivotModel'.
Types of property '_pivotsModels' are incompatible.
Type '{ [modelName: string]: typeof import("https://deno.land/x/denodb@v1.0.27/lib/model.ts").Model; }' is not assignable to type '{ [modelName: string]: typeof import("https://deno.land/x/denodb@v1.0.26/lib/model.ts").Model; }'.
Index signatures are incompatible.
Type 'typeof import("https://deno.land/x/denodb@v1.0.27/lib/model.ts").Model' is not assignable to type 'typeof import("https://deno.land/x/denodb@v1.0.26/lib/model.ts").Model'.
Types of property 'fields' are incompatible.
Type 'import("https://deno.land/x/denodb@v1.0.27/lib/model.ts").ModelFields' is not assignable to type 'import("https://deno.land/x/denodb@v1.0.26/lib/model.ts").ModelFields'.
Index signatures are incompatible.
Type 'import("https://deno.land/x/denodb@v1.0.27/lib/data-types.ts").FieldType' is not assignable to type 'import("https://deno.land/x/denodb@v1.0.26/lib/data-types.ts").FieldType'.
Type 'FieldProps' is not assignable to type 'FieldType'.
db.link([User]);
~~~~
at file:///home/mb/my/career/deno/denodb/min-repo/src/models.ts:21:10
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Python SDK release notes - Azure Machine Learning | Microsoft Learn
Azure Machine Learning SDK for Python v1.41.0. Breaking change warning. This breaking change comes from the June release of azureml-inference-server-http .
Read more >Releases | NGINX Ingress Controller
After running the helm upgrade command, run kubectl apply -f deployments/helm-chart/crds to upgrade the CRDs. When upgrading using the manifests, make sure to ......
Read more >History - AutoIt
Updated Obfuscator.exe v1.0.30.4 (Jos) - Fixed several reported bugs. *** Updated SciTEConfig v1.6.10.0 - updates for the included Abbrev manager and ...
Read more >webfontloader - UNPKG
10, v1.5.14 (January 23, 2015) ... 58, * Update README explaining how to use custom fonts without a ... 127, * Change code...
Read more >Bug listing with status RESOLVED with resolution FIXED as at ...
... Bug:137 - "Updated PyXML ebuild to 0.7" status:RESOLVED resolution:FIXED ... Bug:278 - "Requirements for Gentoo v1.0" status:RESOLVED resolution:FIXED ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was starting to think I was going crazy!
Great to know it’s all working now, Mayur.
Good day 😃
The issue was with module cache. I used
reload: true
inscripts.yaml
to fetch all modules and its working now withv1.0.33
. Thanks