datview
datview copied to clipboard
Using pull-form without the datview-schema :e/type stuff
trafficstars
I would like to use DatView but without having to augment my Datomic schema with the :e/type definitions. I would prefer to specifically query the datoms I want, essentially moving these definitions to the client side with queries such as;
[dat.view/pull-form app '[:db/id :location/name :location/address] e] or [dat.view/pull-form app '[*] e]
However, DatView currently seems to ignore the pull-expr and only renders the datoms that have the :e/type definitions. If the entity does not contain a :e/type datom it fails with an "Error rendering component".
Is adding :e/type to entities a requirement for using DatView going forward?