You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Require constructor parameters to avoid temporal coupling #97
@janoszen I think currently supported has validations for the required parameters. If I misunderstood your suggestion, could you please provide some code snippet to explain the idea?
@janoszen Thank you for sharing your suggestion. It is helpful to define a constructor in the respective POJOs. I'm not sure when I can get to this suggestion; there are feature(s) should be added is in pending state.
FYI, the library already has validations in almost all methods I believe, for example -
Activity
jeevatkm commentedon Apr 15, 2019
@janoszen I think currently supported has validations for the required parameters. If I misunderstood your suggestion, could you please provide some code snippet to explain the idea?
jeevatkm commentedon Apr 17, 2019
@janoszen Thank you for sharing your suggestion. It is helpful to define a constructor in the respective POJOs. I'm not sure when I can get to this suggestion; there are feature(s) should be added is in pending state.
FYI, the library already has validations in almost all methods I believe, for example -
digitalocean-api-java/src/main/java/com/myjeeva/digitalocean/impl/DigitalOceanClient.java
Lines 300 to 307 in 479d227