Closed burakakca closed 10 months ago
Hey! Borm.define() works at the moment to create a typeQL schema from the json BQL schema, but you will probably need to do some tweaks.
However it works on that side BQL => typeQL
The idea is that in the future you will be able to do BQL => graphQL & BQL => dgraph schema etc
Feel free to share your input schema / issues with the output schema if needed
I thing we need both,
BQL to TypeQL and TypeQL to BQL
BQL is more expressive than typeQL (with exception) and also enforces some particular patterns to enable the graphQL-like layer. So the task to infer automatically the BQL schema from a typeQL schema is a bit complicated.
A task that an AI should be able to do tho, by providing for instance the testSchema.ts and the schema.tql in the /test folder as an example.
Happy to help if you have a particular schema that you would like to build and test in BQL
On Tue, Oct 31, 2023 at 4:28 PM Burak Akça @.***> wrote:
I thing we need both,
BQL to TypeQL and TypeQL to BQL
— Reply to this email directly, view it on GitHub https://github.com/Blitzapps/blitz-orm/issues/23#issuecomment-1787453931, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHAYUVGUQH7LPRWORT744HDYCEKLHAVCNFSM6AAAAAA6PSCB62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXGQ2TGOJTGE . You are receiving this because you commented.Message ID: @.***>
I don't have it particular typeQL schema, maybe you can show, how you gonna do that BQL schema from a typeQL schema
I don't have it particular typeQL schema, maybe you can show, how you gonna do that BQL schema from a typeQL schema
I was proposing do do it manually. if you have a particular use case that you could share, I could build a draft borm schema for the use case so you can see an example.
Hi,
When do you plan to complete BQL schema generator feature