feat(api chart): allow customizing api chart with query or body parameters#1491
Merged
arnaud-moncel merged 3 commits intomainfrom Mar 18, 2026
Merged
feat(api chart): allow customizing api chart with query or body parameters#1491arnaud-moncel merged 3 commits intomainfrom
arnaud-moncel merged 3 commits intomainfrom
Conversation
4 new issues
|
|
Coverage Impact This PR will not change total coverage. Modified Files with Diff Coverage (9) 🛟 Help
|
forest-bot
added a commit
that referenced
this pull request
Mar 18, 2026
# @forestadmin/datasource-toolkit [1.53.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-toolkit@1.52.0...@forestadmin/datasource-toolkit@1.53.0) (2026-03-18) ### Features * **api chart:** allow customizing api chart with query or body parameters ([#1491](#1491)) ([a7237f2](a7237f2))
forest-bot
added a commit
that referenced
this pull request
Mar 18, 2026
# @forestadmin/datasource-customizer [1.69.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-customizer@1.68.2...@forestadmin/datasource-customizer@1.69.0) (2026-03-18) ### Features * **api chart:** allow customizing api chart with query or body parameters ([#1491](#1491)) ([a7237f2](a7237f2)) ### Dependencies * **@forestadmin/datasource-toolkit:** upgraded to 1.53.0
forest-bot
added a commit
that referenced
this pull request
Mar 18, 2026
# @forestadmin/agent [1.75.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.74.1...@forestadmin/agent@1.75.0) (2026-03-18) ### Features * **api chart:** allow customizing api chart with query or body parameters ([#1491](#1491)) ([a7237f2](a7237f2)) ### Dependencies * **@forestadmin/datasource-customizer:** upgraded to 1.69.0 * **@forestadmin/datasource-toolkit:** upgraded to 1.53.0 * **@forestadmin/forestadmin-client:** upgraded to 1.37.18 * **@forestadmin/mcp-server:** upgraded to 1.8.9 * **@forestadmin/datasource-sql:** upgraded to 1.17.8
arnaud-moncel
added a commit
that referenced
this pull request
Apr 1, 2026
arnaud-moncel
pushed a commit
that referenced
this pull request
Apr 1, 2026
# @forestadmin/datasource-toolkit [1.53.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-toolkit@1.52.0...@forestadmin/datasource-toolkit@1.53.0) (2026-03-18) ### Features * **api chart:** allow customizing api chart with query or body parameters ([#1491](#1491)) ([a7237f2](a7237f2))
arnaud-moncel
pushed a commit
that referenced
this pull request
Apr 1, 2026
# @forestadmin/datasource-customizer [1.69.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-customizer@1.68.2...@forestadmin/datasource-customizer@1.69.0) (2026-03-18) ### Features * **api chart:** allow customizing api chart with query or body parameters ([#1491](#1491)) ([a7237f2](a7237f2)) ### Dependencies * **@forestadmin/datasource-toolkit:** upgraded to 1.53.0
arnaud-moncel
pushed a commit
that referenced
this pull request
Apr 1, 2026
# @forestadmin/agent [1.75.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.74.1...@forestadmin/agent@1.75.0) (2026-03-18) ### Features * **api chart:** allow customizing api chart with query or body parameters ([#1491](#1491)) ([a7237f2](a7237f2)) ### Dependencies * **@forestadmin/datasource-customizer:** upgraded to 1.69.0 * **@forestadmin/datasource-toolkit:** upgraded to 1.53.0 * **@forestadmin/forestadmin-client:** upgraded to 1.37.18 * **@forestadmin/mcp-server:** upgraded to 1.8.9 * **@forestadmin/datasource-sql:** upgraded to 1.17.8
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Definition of Done
General
Security
Note
Allow passing query and body parameters to API chart handlers
QueryStringParser.parseChartParametersinquery-string.tsto mergecontext.request.queryandcontext.request.bodyinto a flatRecord<string, string>, with body values taking precedence.renderChartin both collection and datasource chart routes.CollectionChartContextand the newDataSourceChartContextto expose an immutableparametersobject to chart handler callbacks.renderChartsignatures acrossdatasource-toolkitinterfaces, decorators, anddatasource-customizerto thread the optionalparametersargument through the full call chain.DataSourceChartContextis a new context class;CollectionChartDefinitionandDataSourceChartDefinitionare now exported fromdatasource-customizer.Macroscope summarized 5cdd942.