Skip to content

Commit

Permalink
fix: add endpoints accessing datamodel schema to sync endpoints (#14427)
Browse files Browse the repository at this point in the history
Co-authored-by: JamalAlabdullah <[email protected]>
  • Loading branch information
Jondyr and JamalAlabdullah authored Jan 22, 2025
1 parent 941cd60 commit 9b66891
Showing 1 changed file with 20 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,16 @@ public class EndpointNameSyncEvaluator : IRequestSyncEvaluator
{
TrimmedControllerName(nameof(AppDevelopmentController)),
GenerateFrozenSet(
nameof(AppDevelopmentController.AddLayoutSet),
nameof(AppDevelopmentController.DeleteFormLayout),
nameof(AppDevelopmentController.DeleteLayoutSet),
nameof(AppDevelopmentController.GetModelMetadata),
nameof(AppDevelopmentController.SaveFormLayout),
nameof(AppDevelopmentController.UpdateFormLayoutName),
nameof(AppDevelopmentController.SaveLayoutSettings),
nameof(AppDevelopmentController.SaveRuleHandler),
nameof(AppDevelopmentController.SaveRuleConfig),
nameof(AppDevelopmentController.AddLayoutSet),
nameof(AppDevelopmentController.UpdateLayoutSetName),
nameof(AppDevelopmentController.DeleteFormLayout),
nameof(AppDevelopmentController.DeleteLayoutSet)
nameof(AppDevelopmentController.SaveRuleHandler),
nameof(AppDevelopmentController.UpdateFormLayoutName),
nameof(AppDevelopmentController.UpdateLayoutSetName)
)
},
{
Expand Down Expand Up @@ -75,6 +76,19 @@ public class EndpointNameSyncEvaluator : IRequestSyncEvaluator
GenerateFrozenSet(
nameof(DeploymentsController.Create)
)
},
{
TrimmedControllerName(nameof(DatamodelsController)),
GenerateFrozenSet(
nameof(DatamodelsController.Get),
nameof(DatamodelsController.PutDatamodel)
)
},
{
TrimmedControllerName(nameof(PreviewController)),
GenerateFrozenSet(
nameof(PreviewController.Datamodel)
)
}
}.ToFrozenDictionary();

Expand Down

0 comments on commit 9b66891

Please sign in to comment.