Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Make ServiceBinding immutable #128

Open
Barsonax opened this issue Jan 6, 2020 · 0 comments
Open

Make ServiceBinding immutable #128

Barsonax opened this issue Jan 6, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Barsonax
Copy link
Owner

Barsonax commented Jan 6, 2020

Currently some fields in ServiceBinding are mutable. This has some disadvantages:

  • It could cause hard to understand problems when reusing the same ServiceBinding instances across containers.
  • If ServiceBindings are immutable there is a possibility to turn this class into a struct for less memory usage (needs more research).

A possible solution would be to split the immutable and mutable part of ServicBinding into 2 different concepts.

@Barsonax Barsonax added the enhancement New feature or request label Jan 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant