Skip to content

Create nested default_box keys on assignment - #326

Open
gyanu2507 wants to merge 1 commit into
cdgriffith:masterfrom
gyanu2507:default-box-create-on-set
Open

Create nested default_box keys on assignment#326
gyanu2507 wants to merge 1 commit into
cdgriffith:masterfrom
gyanu2507:default-box-create-on-set

Conversation

@gyanu2507

@gyanu2507 gyanu2507 commented Sep 8, 2026

Copy link
Copy Markdown

default_box_create_on_get=False is supposed to skip creating keys on lookup. Assignment still needs to persist: b.foo.bar = 1 should leave foo.bar on the box.

Lookups stay ephemeral. A write flushes the pending parent chain.

Fixes #274

default_box_create_on_get=False still needs b.foo.bar = 1 to persist.
Lookups stay ephemeral. Writes attach the pending chain.
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.

default_box_create_on_get=False should still create keys on assigment

1 participant