Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The alias of fields and nodes is no longer read:
SdkFieldV2andSdkNodeV2lose theiraliasconstructor parameters andgetAlias(). EFX 2 no longer accepts aliases (TEDEFO-5351), the EFX Toolkit no longer uses them, and the SDK files contain none.This PR targets
ecl-2, the branch for eforms-core 2.0.0, so thatdevelopkeeps the 1.x contract for one more release.What changes
SdkFieldV2: thealiasfield, thealiasparameter of both public constructors, the reading ofaliasfrom JSON, andgetAlias()are removed.SdkNodeV2: the same.getAlias()and thealiasproperties of the SDK 2 test fixtures are removed.pom.xml: the version becomes 2.0.0-SNAPSHOT, because removing public API needs a major version (japicmp).The constructors and
getAlias()are public API, so code that calls them must change. MDM does: when it takes eforms-core 2.0.0, its callnew SdkNodeV2(..., node.getAlias())inAbstractSymbolResolvermust drop the last argument. With the default Jackson settings, JSON that still has analiasproperty is now refused by the@JsonCreatorconstructors; the constructors that take aJsonNodeignore it.How it was checked
mvn verify: 133 tests pass, and japicmp accepts the change for 2.0.0.developpasses its 2,991 tests with this version.