-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Choose appropriate name for the edgedb-protocol::model
module
#46
Comments
I don't like I like |
I think |
Conceptually it should contain edgedb types a statically typed application would use in its data model (as opposed to edgedb-cli which is mostly dynamically typed via Currently they're all scalars and I see no clear demand for complex types. But it feels like co-incidence for me. I could conceive of types, like a streaming set or higher level representations of links eventually ending up there. |
Hm, can we actually call the top module 'schema' and then nest 'std' and 'cal' into it? So |
So technically we can, and while it can assist some auto-generating code for schema, I'm |
Fair enough.
Speaking of long names, I'd very much prefer the Rust crate/namespace for the EdgeDB driver to be simply named |
As for what to rename |
Sure. The plan is to do it eventually. It will probably be the crate that re-exports all common things from fine-grained crates (e.g. this is how |
edgedb-derive causes some complications with that. It has to choose the path from which to import types used by the derived code.
|
We'll see. It's not obviously we will need this. We also can ship |
Previous discussion: #44 and #38
Options so far:
data_types
is what is used in Python (or ratherdatatypes
), but can be perceived to long for referencing too oftenmodel
(the name was was not discussed beforehand so should not be considered status quo)data
is shorter for data typesscalars
-- but this might stop using it for more complex types if we need in futureedgedb-types
Personally, I still like
model
, butdata
is also fine.The text was updated successfully, but these errors were encountered: