-
Notifications
You must be signed in to change notification settings - Fork 284
Labels
Milestone
Description
What?
Expand the stored procedure parameter definition in the configuration file to support richer metadata.
Move from a dictionary mapping of parameter names to values, to an array of parameter objects with explicit fields.
Why?
Supports metadata for each parameter, especially description for MCP.
How?
- Change the type for the
parametersproperty in the config to an array of objects. (support old syntax too!) - Update the JSON schema to support the new structure.
- Update the internal model to support the new structure.
- Add
parameter nametodab add. - Add
parameter aliastodab add. - Add
parameter requiredtodab add. - Add
parameter defaulttodab add. - Add
parameter nametodab update. - Add
parameter aliastodab update. - Add
parameter requiredtodab update. - Add
parameter defaulttodab update. - Add support for the expanded parameter object in the CLI
dab validateincluding deprecation notes - Include parameter
descriptionin DAB's OpenAPI output. - Include parameter
descriptionin DAB's GraphQL schema output. - Update MCP tooling to use the expanded format.
Details
Before
parameters is a dictionary:
{
"entities": {
"{entity-name}": {
"source": {
"parameters": {
"parameter-name": "default-value"
}
}
}
}
}After
parameters is an array of objects:
Command Line
dab add User --parameters "Id" --required true
dab add User --parameters "Id" --description "My description"
dab add User --parameters "Id" --default "My value"
dab update User --parameters "Id" --required true
dab update User --parameters "Id" --description "My description"
dab update User --parameters "Id" --default "My value"Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done
