PromucFlow_constructor/app/server/appsmith-interfaces
Nayan eedd3fb857
chore: Hide auto commit and branch protection settings in public APIs (#29586)
## Description
We store the autoCommit settings and branch protection settings in the
root application only. As they're present in the
`GitApplicationMetadata`, these fields are included in all the responses
of Application object with empty or default values. This creates
confusion in the client side. This PR does two things:
- It introduces a new `Metadata` view mode. Properties that are
annotated with this mode will be part of the response where controller
method has the same annotation
- Adds a custom getter method for the auto commit config to response a
default value when this field is not present

#### PR fixes following issue(s)
Fixes #29584
2023-12-14 19:27:13 +06:00
..
src chore: Hide auto commit and branch protection settings in public APIs (#29586) 2023-12-14 19:27:13 +06:00
pom.xml chore: update version due to vulnebarity (#28208) 2023-10-19 12:47:19 +05:30