-
Notifications
You must be signed in to change notification settings - Fork 35
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add error type supporting templates #4525
Comments
blkt
added a commit
that referenced
this issue
Sep 18, 2024
This change extends error type available for use in evaluation engines with support for go templates. This error type supports rendering complex templates along with the usual string rendering. Despite the type itself being the same, a new constructor was added to avoid a bigger refactoring. Ideally, the old constructor should be deprecated and all places returning an `ErrEvaluationFailed` error should use the new one instead. Templates are internal to Minder and cannot be customized by the end user. Also, template engine choice was arbitrary and can be changed at any time. Fixes #4525
10 tasks
blkt
added a commit
that referenced
this issue
Sep 18, 2024
This change extends error type available for use in evaluation engines with support for go templates. This error type supports rendering complex templates along with the usual string rendering. Despite the type itself being the same, a new constructor was added to avoid a bigger refactoring. Ideally, the old constructor should be deprecated and all places returning an `ErrEvaluationFailed` error should use the new one instead. Templates are internal to Minder and cannot be customized by the end user. Also, template engine choice was arbitrary and can be changed at any time. Fixes #4525
blkt
added a commit
that referenced
this issue
Sep 18, 2024
This change extends error type available for use in evaluation engines with support for go templates. This error type supports rendering complex templates along with the usual string rendering. Despite the type itself being the same, a new constructor was added to avoid a bigger refactoring. Ideally, the old constructor should be deprecated and all places returning an `ErrEvaluationFailed` error should use the new one instead. Templates are internal to Minder and cannot be customized by the end user. Also, template engine choice was arbitrary and can be changed at any time. Fixes #4525
blkt
added a commit
that referenced
this issue
Sep 18, 2024
This change extends error type available for use in evaluation engines with support for go templates. This error type supports rendering complex templates along with the usual string rendering. Despite the type itself being the same, a new constructor was added to avoid a bigger refactoring. Ideally, the old constructor should be deprecated and all places returning an `ErrEvaluationFailed` error should use the new one instead. Templates are internal to Minder and cannot be customized by the end user. Also, template engine choice was arbitrary and can be changed at any time. Fixes #4525
blkt
added a commit
that referenced
this issue
Sep 18, 2024
This change extends error type available for use in evaluation engines with support for go templates. This error type supports rendering complex templates along with the usual string rendering. Despite the type itself being the same, a new constructor was added to avoid a bigger refactoring. Ideally, the old constructor should be deprecated and all places returning an `ErrEvaluationFailed` error should use the new one instead. Templates are internal to Minder and cannot be customized by the end user. Also, template engine choice was arbitrary and can be changed at any time. Fixes #4525
blkt
added a commit
that referenced
this issue
Sep 18, 2024
This change extends error type available for use in evaluation engines with support for go templates. This error type supports rendering complex templates along with the usual string rendering. Despite the type itself being the same, a new constructor was added to avoid a bigger refactoring. Ideally, the old constructor should be deprecated and all places returning an `ErrEvaluationFailed` error should use the new one instead. Templates are internal to Minder and cannot be customized by the end user. Also, template engine choice was arbitrary and can be changed at any time. Fixes #4525
blkt
added a commit
that referenced
this issue
Sep 19, 2024
This change extends error type available for use in evaluation engines with support for go templates. This error type supports rendering complex templates along with the usual string rendering. Despite the type itself being the same, a new constructor was added to avoid a bigger refactoring. Ideally, the old constructor should be deprecated and all places returning an `ErrEvaluationFailed` error should use the new one instead. Templates are internal to Minder and cannot be customized by the end user. Also, template engine choice was arbitrary and can be changed at any time. Fixes #4525
blkt
added a commit
that referenced
this issue
Sep 19, 2024
This change extends error type available for use in evaluation engines with support for go templates. This error type supports rendering complex templates along with the usual string rendering. Despite the type itself being the same, a new constructor was added to avoid a bigger refactoring. Ideally, the old constructor should be deprecated and all places returning an `ErrEvaluationFailed` error should use the new one instead. Templates are internal to Minder and cannot be customized by the end user. Also, template engine choice was arbitrary and can be changed at any time. Fixes #4525
blkt
added a commit
that referenced
this issue
Sep 19, 2024
This change extends error type available for use in evaluation engines with support for go templates. This error type supports rendering complex templates along with the usual string rendering. Despite the type itself being the same, a new constructor was added to avoid a bigger refactoring. Ideally, the old constructor should be deprecated and all places returning an `ErrEvaluationFailed` error should use the new one instead. Templates are internal to Minder and cannot be customized by the end user. Also, template engine choice was arbitrary and can be changed at any time. Fixes #4525 Fixes #4526
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add an
error
type for evaluation results that allows customization of its display message.Change must be backwards-compatible with existing error types.
The text was updated successfully, but these errors were encountered: