Skip to content

Conversation

@ryo33
Copy link
Member

@ryo33 ryo33 commented Jan 6, 2026

This encapsulates the internal data structures by making inner fields
private and exposing public methods for access. Changes include:

  • Remove pub from Map<K, V> inner IndexMap field
  • Remove pub from NodeArray inner Vec field
  • Remove pub from NodeTuple inner Vec field
  • Add from_vec() methods to NodeArray and NodeTuple for construction
  • Add #[plural(...)] attributes to generate len, is_empty, iter methods
  • Update all usages to use public methods instead of direct field access

Resolves TODO comments in map.rs and node.rs about removing pub fields.

This encapsulates the internal data structures by making inner fields
private and exposing public methods for access. Changes include:

- Remove pub from Map<K, V> inner IndexMap field
- Remove pub from NodeArray inner Vec<NodeId> field
- Remove pub from NodeTuple inner Vec<NodeId> field
- Add from_vec() methods to NodeArray and NodeTuple for construction
- Add #[plural(...)] attributes to generate len, is_empty, iter methods
- Update all usages to use public methods instead of direct field access

Resolves TODO comments in map.rs and node.rs about removing pub fields.
@ryo33 ryo33 force-pushed the claude/implement-todo-item-DDejR branch from 54361c7 to 1f79ef2 Compare January 6, 2026 04:39
@ryo33 ryo33 merged commit 61557ad into main Jan 6, 2026
1 check passed
@ryo33 ryo33 deleted the claude/implement-todo-item-DDejR branch January 6, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants