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

move result generator configs into providers #2859

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

thoniTUB
Copy link
Collaborator

No description provided.

@thoniTUB thoniTUB requested a review from awildturtok December 15, 2022 09:56

@Data
@CPSType(base = ResultRendererProvider.class, id = "ARROW")
public class ArrowResultProvider implements ResultRendererProvider {
private boolean hidden = true;

@Valid
@NotNull
private ArrowConfig config = new ArrowConfig();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool, macht Sinn!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Du könntest hier auch mit dem Gedanken spielen es mit JsonUnwrapped zu lesen, dass du das ganze flattest?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JsonUnwrapped tickelt dich immer mal wieder :D soweit ich weiß geht unwrap aber nur in die serialisierungs Richtung. Bei Objekten in der Config brauchen wir aber beiderichtungen, weil wir die Config in den Test auch kopieren.

@thoniTUB thoniTUB merged commit 7241a4d into develop Dec 15, 2022
@delete-merged-branch delete-merged-branch bot deleted the feature/refactor-result-provider-config branch December 15, 2022 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants