Skip to content

reinitializers call _upgrade function which is marked as onlyInitializing #496

@JorgeAtPaladin

Description

@JorgeAtPaladin

Seems like this flow is validating that the initializing is occuring twice. Looking at current OZ's implementation that's not a big deal as reinitizaling modifier sets initializing to true again, but I was concerned that this would revert. It might make sense to have the safeguard on the modifiers/outer facing functions and have the inner one without a check. Otherwise leaving this unchanged is fine as well.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions