Skip to content

Pico return references #740

@rbalicki2

Description

@rbalicki2
  • Memoized functions can return references
  • Memoized functions do not accept references as parameters, only DB can be a reference
    • we should always pass small, copiable objects (like names or IDs), not large objects that we worry about cloning

unchanged stuff:

  • params should remain hash / WithSerializable
  • GC should work as is? As in, we GC from the root query and (lower priority) GC the related derived nodes, so the last thing to be GC'd will be the "underlying truth", i.e. in get_first_item_in_selection_set -> get_selection_set -> get_entity -> parse_graphql_schema, we will GC from the left side, and all references point "to the right"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions