salesforce / utam-java

UTAM Java implementation
MIT License
25 stars 16 forks source link

feat: support for nullable flag in container element #225

Closed lizaiv77 closed 2 weeks ago

lizaiv77 commented 2 weeks ago

Before change "nullable" was not supported, after the change if nullable is set to true, generated code will be

return this.container(root).nullable(true).build().load(pageObjectType, locator);

// if expand shadow is also true
return this.container(root).expandShadow(true).nullable(true).build().load(pageObjectType, locator);

Docs update https://github.com/salesforce-experience-platform-emu/utam-docs/pull/1130