Dan Kent
Dan Kent
I'm playing around with things in this area. Since my PR (https://github.com/nicolodavis/boardgame.io/pull/493) was kindly accepted, the Simulate function is now exported, so it is easy to write code that uses...
I'd be happy to contribute to this area. This is one of the main aspects of boardgame.io that I expect to make use of, so it would be great to...
The ability to inject an arbitrary function to add things to the stats object that will be returned would be perfect. I like the idea of mirroring the API of...
added this in the wrong place
My ideal way for this to be implemented would be: * Enable us to mark a one-one or one-many relation as a 'belongs to' relation where the second entity is...
I think there is a good argument for providing two things: * A simple 'belongs to' semantic in the schema that manages the basic use case of having objects that...
@sorenbs Yes, I would expect functions attached to the parent entity to be triggered as normal. Personally, I would only use a cascading delete for child entities that don't have...
I agree that each mutation should be atomic, including it's nested mutations. It would also be nice to have a mechanism for defining a set of separate mutations as a...
Any plans to implement this? I think it would be best implemented as automatic relationships with the User type for every other type. That way, the relationship could be used...
It would be really good to be able to do an update mutation with nested mutations for related entities and have them either created or updated depending on whether an...