Skip to content
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

Please support uid type for facet edge attributes #4770

Closed
ChStark opened this issue Feb 13, 2020 · 2 comments
Closed

Please support uid type for facet edge attributes #4770

ChStark opened this issue Feb 13, 2020 · 2 comments
Labels
area/facets Issues related to face handling, querying, etc. kind/enhancement Something could be better. Stale

Comments

@ChStark
Copy link

ChStark commented Feb 13, 2020

What you wanted to do

Modeling some entities as edges

Sometimes when modeling a domain on a graph database makes more sense that some entities are modeled as edges and not nodes, lets say the typical case of airports and flights, flights make more sense like edges since is connecting 2 node entities (airports) and the information they need is primitive like start times and end times, etc

Then if there is a need to include some extra information or pointers to another nodes, let's say pilots, a whole refactor/export is needed.

What you actually did

Create a new type of node and refactor/export all the information just because I need to point one single attribute to a node

Why that wasn't great, with examples

Its suppose that graph database should be flexible for schema evolution and changes, but this is not the case.

Any external references to support your case

If you go to ArangoDb's docs you can see the make a clear distinction of this concept
https://www.arangodb.com/docs/stable/graphs.html#which-part-of-my-data-is-an-edge-and-which-a-vertex
And if you have the above distinction you can't change easily between edges -> nodes.

@MichelDiz MichelDiz added area/facets Issues related to face handling, querying, etc. kind/enhancement Something could be better. labels Feb 13, 2020
@MichelDiz
Copy link
Contributor

@MichelDiz MichelDiz reopened this Aug 2, 2022
@dgraph-io dgraph-io deleted a comment from minhaj-shakeel Jan 9, 2023
Copy link

github-actions bot commented Aug 6, 2024

This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.

@github-actions github-actions bot added the Stale label Aug 6, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/facets Issues related to face handling, querying, etc. kind/enhancement Something could be better. Stale
Development

No branches or pull requests

3 participants