Skip to content

[Task]: Refactor path validation #2138

Closed

Description

@OrKoN

Task to do:

Currently we call validatePath in any tool with filePath inputs. Instead, we should add a new required annotation called filePathFields: array<string> requiring each tool to list field paths that require validation. The validation can then be done centrally when handling a request.

cc @Lightning00Blade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions