|
|
@@ -35,11 +35,10 @@ func BindConfiguration(binder *binding.Binder, opts ...Option) {
|
|
|
}, value_object.WithDisableQuery[any]())
|
|
|
|
|
|
binding.GetBind(binder, &binding.SimpleBindItem[map[string]any]{
|
|
|
- Path: "/configuration/values",
|
|
|
- ResponseFunc: response.SendMapResponse,
|
|
|
- RequestParams: &GetConfigurationValuesQueryParams{},
|
|
|
- Objects: []domain.Object{&Entity{}},
|
|
|
- Infrastructure: binder.Infrastructure(),
|
|
|
+ Path: "/configuration/values",
|
|
|
+ ResponseFunc: response.SendMapResponse,
|
|
|
+ RequestParams: &GetConfigurationValuesQueryParams{},
|
|
|
+ Objects: []domain.Object{&Entity{}},
|
|
|
ServiceFunc: func(c *api.Context, params request.Params, objects []domain.Object, i *infrastructure.Infrastructure) (map[string]any, error) {
|
|
|
dbExecutor := i.DBExecutor()
|
|
|
|