majensen / perlbolt

Neo4j server agent using Bolt protocol
Apache License 2.0
4 stars 2 forks source link

Add Neo4j::Types v2 support to feat-v5.0 branch #56

Closed johannessen closed 9 months ago

johannessen commented 10 months ago

This PR is supposed to make the feat-v5.0 branch compliant with the proposed Neo4j::Types v2 interface.

The methods for accessing the element ID are complete.

(See "element_id" in N:T:Node and "Node" in N:T:ImplementorNotes for the specification, and neo4j-types #13 + #3 for the rationale. Even though I have now made a decision for Neo4j::Types, of course I will always keep the door open to revisit it. If you disagree with me, I’d love to consider your thoughts.)

The availability check currently uses eq, as discussed earlier. A simpler way to avoid eq might be to move this check to XS and look at the PV/IV flags instead. But this is just about performance – the code works fine as it is.

johannessen commented 10 months ago

The methods for Point, DateTime, and Duration are complete as well. However, I see two problems that still remain to be solved:

johannessen commented 9 months ago

Bytes, DateTime, Duration, and Point are complete and ready to be merged into feat-v5.0.