Comments (11)
@Ali1Ammar I'm in contact with the Prisma ORM official to see if I need to move this repository under the prisma org.
from prisma-dart.
I have a working version of the binary engine inside https://github.com/odroe/prisma/tree/query-engine/orm/lib/src/engine
I will merge this implementation inprisma_query_engine/lib/src/native/binary
but I need to access configure
class from prisma_cli/lib/src/configure.dart
so I think we need I new package for the shared code between all
from prisma-dart.
@medz for the web we could generate the config as dart file with the generate command but for now I will just add todo for that
from prisma-dart.
hello @Chris-Sechri this package is still under heavy development and we still didn't releases any version for public use
@Chris-Sechri
🎉Happy to announce that Prisma ORM for Dart is available in version 2.0.0-dev.4. But still the following problems:
db pull
has not been completed- Model deserialization has not been completed yet, the current model code returns dynamic type
More available check out the version on pub.dev 👉https://pub.dev/packages/orm/versions/2.0.0-dev.4
from prisma-dart.
@Ali1Ammar Can you email me your pub.dev account email address? I will set your permissions in pub.dev on all packages of Prisma ORM.
from prisma-dart.
@Ali1Ammar Regarding the three engines of Binary, Dynamic Library, and Data Proxy, I have established a good cross-platform interface for them in the main
branch (to be completed).
The responsibilities of each package are as follows:
orm
is responsible for the runtime, which is the Prisma Client part, the code is platform independent. But bin still needs to proxycli
so that developers can type as few command strings as possible.prisma_cli
is responsible for completing data management and other related command line toolsprisma_query_engine
, for the engine encapsulation of theorm
package, export and use platform judgment, so that it supports three engines and the flag of the package is all platforms.prisma_query_engine_dylib
has a built-in toolchain for the C API written byPrisma Engines
, andEngineDynamicLibrary
is automatically generated during development.
I think you're working on the prisma-engine
branch without needing to have the main
branch and make some changes to the code.
At the same time I forked the prisma_engine_dylib
branch for the development of Dynamic Engine.
from prisma-dart.
I think the Engine interface part is what we need to complete together. next, I will focus on development of Dynamic Library Engine and supplement the Engine interface.
from prisma-dart.
@Ali1Ammar It is possible to create new packages for code sharing. I've also been wondering how to share the configuration.
Loading the configuration requires IO operations, which may affect the Dart Web and Flutter Web platforms, but I think a shared package with IO operations can be implemented first. We'll discuss how to deal with the web platform when we're done developing Prisma Data Proxy.
from prisma-dart.
@Ali1Ammar 👌 The i'm idea of web platform support is to only allow Prisma Data Proxy engine drivers.
But that's after we've done the Binary and DynamicLibrary drivers.
from prisma-dart.
Hi guys, i was so excited to use this package until the following command dart run orm generate
is not working, so i can't generate the client.
Can you help me to fix that please ?
from prisma-dart.
hello @Chris-Sechri
this package is still under heavy development and we still didn't releases any version for public use
from prisma-dart.
Related Issues (20)
- 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
- Generated toJson() method not encoding DateTime and Enum types correctly for JSON responses
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.