Spring Data Neo4j
  1. Spring Data Neo4j
  2. DATAGRAPH-99

Provide a way to register additional FieldAccessorFactory implementations

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CORE
    • Labels:
      None

      Description

      The available FieldAccessorFactory implementations are currently hard-coded in NodeDelegatingFieldAccessorFactory#createAccessorFactories. It seems as if there is no way to register additional FieldAccessorFactory implementations.

      Some kind of FieldAccessorFactory registry would make SDG much more flexible.

        Activity

        Hide
        Michael Hunger added a comment -

        created an overridable nodeDelegatingFieldAccessorFactory in Neo4jConfiguration
        would like to discuss the necessity of a special registry

        Show
        Michael Hunger added a comment - created an overridable nodeDelegatingFieldAccessorFactory in Neo4jConfiguration would like to discuss the necessity of a special registry
        Hide
        Jean-Pierre Bergamin added a comment -

        Please see also this pulll request.

        As there is an easier way now to just redefine the accessor factories, I don't think that there is a need to provide some special registry.
        An I don't think that users will write their own FieldAccessors very often...

        Show
        Jean-Pierre Bergamin added a comment - Please see also this pulll request . As there is an easier way now to just redefine the accessor factories, I don't think that there is a need to provide some special registry. An I don't think that users will write their own FieldAccessors very often...

          People

          • Assignee:
            Michael Hunger
            Reporter:
            Jean-Pierre Bergamin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: