Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Make requirements read-only for plugin developers #79

Closed
@sebinside

Description

@sebinside

Description

Because of the current API design, it possible to the plugin dev to edit or unset a retrieved requirement. This is not intended. The addRequirement should be reworked to only return a container with the requirement reference and possible getters.

References

https://github.com/codeoverflow-org/chatoverflow-api/blob/702cf575556b162875b808b5d55d166bb2250752/src/main/java/org/codeoverflow/chatoverflow/api/plugin/configuration/Requirements.java#L57

Metadata

Metadata

Assignees

Labels

apiRequires api changesenhancementNew feature or requestminorQuick to implement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions