Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ben/mv5/modify command #3023

Closed
wants to merge 5 commits into from
Closed

Ben/mv5/modify command #3023

wants to merge 5 commits into from

Conversation

benwoo1110
Copy link
Member

No description provided.

Copy link
Member

@dumptruckman dumptruckman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is all I can review atm. Gotta lay down.

MultiverseWorld mvWorld = context.getContextValue(MultiverseWorld.class);
ConfigModifyType modifyType = context.getContextValue(ConfigModifyType.class);
String propertyName = context.getContextValue(String.class);
return mvWorld.suggestPropertyValues(modifyType, propertyName, context.getInput());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is a world suggesting property values? This smells like MultiverseWorld is doing too much.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe parts of this class need to be exposed with a new interface with a getter on MultiverseWorld. I think this would help manage SRP a bit more.

@benwoo1110 benwoo1110 marked this pull request as draft September 20, 2023 08:32
@zax71 zax71 mentioned this pull request Sep 22, 2023
75 tasks
@benwoo1110 benwoo1110 closed this Dec 4, 2023
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.

None yet

2 participants