portal

https://github.com/djblue/portal
2021-05-03T17:53:19.024700Z

it looks like with datafy and nav and datomic, it's not always possible to hop from eid to eid along the graph indefinitely

2021-05-03T17:53:31.025100Z

is there a way i can configure portal to do so?

2021-05-03T17:54:35.026Z

in other words, if i pipe the results of a datomic query into portal, i get one level of free querying by eid. if that (implicit) query returns eids, i don't think portal queries them as well

djblue 2021-05-03T19:08:00.026700Z

Does the queried data also have nav metadata?

2021-05-03T19:25:52.027100Z

that's a great question. i assume so, since rebl does it, but i don't actually know

djblue 2021-05-03T19:33:52.027200Z

You should be able to see metadata attached to most data in portal

2021-05-05T17:53:53.029700Z

well, it looks like the metadata is attached, and i can bounce from entity to entity indefinitely. originally i was trying to skip over intermediate entities and at that point it seems like the metadata is lost

2021-05-05T17:53:57.029900Z

this is terrific

2021-05-05T17:56:49.030100Z

or, maybe it's more accurate to say i was navigating to values - the entity ids - that were not datomic entities and did not have metadata

djblue 2021-05-05T18:00:55.030300Z

Yeah, I think a big assumption nav implementations make is the you are only ever navigating one level deep, so the metadata is attached only to the root value.

2021-05-05T18:01:36.030500Z

again, this ui is /terrific/

❤️ 2
2021-05-05T18:02:03.030800Z

big fan 👍