John
John
I think I'd change the `ActiveModule` DSL to specifically use that of `ActiveSupport::Concern` i.e. ``` module User include Neo4j::ActiveModule def stats puts "the stats" end included do property :login property...
@leehericks, what do you think? ^^^ Seperately, regarding: > If you wanted a class to always have a ActiveModule's label / property, you could add something like by_default_has :User Your...
Regarding 1. > I like the idea from the other thread about calling some method and giving the module so that the entire module will only be included depending on...
So if my understanding of your `ActiveLabel` concept is correct, and any node with the `ActiveLabel`'s label will gain the `ActiveLabel`'s properties, I've thought of an issue in my app:...
To pile on a bit more, I can see how my scheme could be extended to create a module that only applies if TWO labels are attached to a class....
H'okey, back. Ahhh...again I find myself wishing that Github allowed nested replies. Regarding > @thefliik Regarding tracking relationships, I think you're missing a very simple model. > (p1:Person)-[:FRIENDSHIP]->(p2:Person) > (p1:Person)-[:DESTROYED_FRIENDSHIP]->(p2:Person)...
Looking some more, it really looks the `label :SomeLabel` API is a combination of "add some label" with "add this module if this label is present." My vote is to...
Interesting! I am/was under the impression that the only reason to use `nrwl/nx` is to support creating multiple applications with shared (custom/private) libraries. Making it less of a question of...
That would not be compatible with AOT compilation, so you'd need to load the whole angular compiler. This article touches on that topic: https://blog.angularindepth.com/here-is-what-you-need-to-know-about-dynamic-components-in-angular-ac1e96167f9e
Here's a rough POC fix - [Working React 18 example](https://stackblitz.com/edit/react-ts-qggoxr?file=react-solid-state.ts) I suspect React 18 currently isn't working because `setState()` calls are [now being batched](https://reactjs.org/blog/2022/03/29/react-v18.html#new-feature-automatic-batching). In my simple proof-of-concept fix, I'm...