-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Boolean fields to Data classes for supporting sparse update (#664)
* added support for bitset for data types * added support for bitset for all data types * initialize bitset * generate setField conditionally * bug fixes * adding unit tests * cleanup * Revert "cleanup" This reverts commit f21e6af. * cleanup * updated flag name, CodeGenCliKt.run.xml * added additional unit test without field isset * Added descriptive help for CLI flag * refactor builder function * add parameters to enum constructor * fix linting * Revert "fix linting" This reverts commit cd71b3a. * fix linting, unit tests * updating linting * add field is set to generateJava * Revert "add field is set to generateJava" This reverts commit b5c7af4. * Revert "updating linting" This reverts commit b3513ef. * Revert "fix linting, unit tests" This reverts commit 7a1d567. * update generateJava, formatting * revert xml changes * linting fix * updating isSet and setField to public * update boolean fields * cleanup * update boolean field generation with tests * updating unit tests * updating unit tests * formatting Kotlin * Revert "formatting Kotlin" This reverts commit 5d76a5e. * formatting Kotlin * updating boolean field and setter names * update EntitiesClientApiGenTest and ClientApiGenQueryTest * fix more tests * bug fix * format kotlin * fix unit tests * update boolean fields * cleanup * fix: adding is nullable for input types * fix: adding javapoet formatting * fix: Adding fields for non-nullable without defaults * cleanup * addressing comments * cleanup --------- Co-authored-by: kkatelia <krutika_katelia@intuit.com>
- Loading branch information
Showing
6 changed files
with
360 additions
and
116 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.