Comments (7)
Hello @apaudel96 .
What is package version?
from prisma-dart.
Hi package version is 2.2.2
from prisma-dart.
copied your schema and it doesn't appear on macOS, maybe I need to install an ubuntu system to test.
from prisma-dart.
Ok, so I spun up a couple vms, and can confirm that its probably only a problem with ubuntu.
XUbuntu 22.04 - Bug (What i currently use)
Stock Ubuntu 22.04 - Bug
Debian 11 - Works as expected
Manjaro - Works as expected
from prisma-dart.
@apaudel96
This should be fixed in this PR #32. I created ubuntu:22.04
in Docker and ran the example/sqlite
example successfully.
Below is my debug info:
root@0fea44c423ca:/prisma-dart# cd example/sqlite/
root@0fea44c423ca:/prisma-dart/example/sqlite# dart run orm generate
Building package executable... (1.3s)
Built orm:orm.
Generation of "client" succeeded 0.0s
root@0fea44c423ca:/prisma-dart/example/sqlite# dart run
Building package executable...
Built sqlite:sqlite.
{id: cl8e3jsg60000k1qcunwd0v13, task: prisma for dart, done: false, due: 2022-09-25T06:23:13.000Z}
@apaudel96 I need to wait for the branch of clone #32 and run it once to further confirm if it is fixed. I am waiting for you, after you confirm that the bug has been fixed we will merge it into the main branch and release a new version to announce the fix.
from prisma-dart.
@medz Can confirm that #32 works on my computer as well.
Thanks
from prisma-dart.
@medz Can confirm that #32 works on my computer as well. Thanks
@apaudel96 Great, I'll merge #32 and release a new version.
from prisma-dart.
Related Issues (20)
- Support Flutter App HOT 31
- Generation error with array of enum HOT 4
- If the type in .prisma is primitive list type like Int[], then the generated fromJson will cause error: HOT 2
- Document the use of multiple schemas in the same project.
- generator error in orm: ^3.4.8
- Joins, include and select HOT 3
- Dart Wrapper for the Prisma Library HOT 1
- Generated models have optional properties when defined as required in schema HOT 3
- Prisma engine architecture mismatch HOT 10
- Npx Prisma Generate Fails with Orm 4.0.0 HOT 3
- generated_dart_client errors HOT 1
- scehma in Windows production source code contains newline characters causing exceptions HOT 29
- Enhancing the model with information HOT 11
- why don't Json HOT 2
- v4.x generates nullable attributes for non-nullable fields HOT 2
- Wrong generate model, why? HOT 2
- Prisma binary query engine not ready HOT 10
- prisma-query-engine is not closing when the program is finished HOT 1
- Dependency Dashboard
- Error updating field with null
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prisma-dart.