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
Constructing ScriptLink objects can be complicated and difficult to read. Especially, with a large number of properties and nested classes. This request proposes using a Fluent Builder pattern to help with the construction of FieldObjects. This will make it easier to write unit tests and add new FieldObjects to existing rows.
// Basic IdeaFieldObjectfieldObject= FieldObject.Builder().FieldNumber("1").FieldValue("Something").Enabled().Required().Build();// Alternative builder initialization since every fieldobject must have a field numberFieldObjectfieldObject= FieldObject.Builder("1").FieldValue("Something").Enabled().Required().Build();
The object builders are split into separate issues so help with testing, validation, documentation, and code review.
The text was updated successfully, but these errors were encountered:
Constructing ScriptLink objects can be complicated and difficult to read. Especially, with a large number of properties and nested classes. This request proposes using a Fluent Builder pattern to help with the construction of FieldObjects. This will make it easier to write unit tests and add new FieldObjects to existing rows.
The object builders are split into separate issues so help with testing, validation, documentation, and code review.
The text was updated successfully, but these errors were encountered: