Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Go] Validation for unsupported features in models #1924

Open
apascal07 opened this issue Feb 10, 2025 · 0 comments
Open

[Go] Validation for unsupported features in models #1924

apascal07 opened this issue Feb 10, 2025 · 0 comments
Labels
bug Something isn't working go

Comments

@apascal07
Copy link
Collaborator

Describe the bug
Models should be using ModelInfo and ModelInfoSupports to declare their feature support (via model metadata) and we should be throwing errors instead of silently not using the features when requested.

Example middleware for it in JS:

export function validateSupport(options: {

@apascal07 apascal07 added bug Something isn't working go labels Feb 10, 2025
@apascal07 apascal07 changed the title [Go] Add validation for unsupported features in models [Go] Validation for unsupported features in models Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working go
Projects
Status: No status
Development

No branches or pull requests

1 participant