Note that the overall structure does not resemble a domain type.
According to the documentation, I can perform custom queries and still returning domain types, but as far as I know, this is limited to returning domain types directly.
The other way to perform custom queries I found in the documentation is custom queries and custom mappings, however, as this approach uses the Neo4jClient, there is no domain type mapping information as far as I know.
So my question is, is there any way to map the results of the query I described earlier?
The first link does not work, so I just hoping that you are not linking to my potential solution
It is possible to get entity mapping into a Neo4jClient mapping manually: