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

issue-122: updated add1GetterMethod logic in useImmutableCollections=true case #138

Merged
merged 3 commits into from
Feb 7, 2023

Conversation

epm-dev-priporov
Copy link
Contributor

fix for #122
I am not sure that this is something exactly you would like to expect, but I reproduced and tested this case, seems it works. Would be glad to get any feedback.
Please let me know if everything is fine - I would like to take issue 123 in that case as well

@Randgalt
Copy link
Owner

I reproduced and tested this case

Can you add a test for this please?

@epm-dev-priporov
Copy link
Contributor Author

epm-dev-priporov commented Jan 31, 2023

yes, I will add a bit late
@Randgalt done, could you please review it

addAccessorAnnotations(component, methodSpecBuilder, __ -> true);
builder.addMethod(methodSpecBuilder.build());
}

private CodeBlock build1codeBlock(RecordClassType component) {
Copy link
Owner

Choose a reason for hiding this comment

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

Please rename checkReturnShim() or something similar

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@Randgalt Randgalt added this to the v36 milestone Feb 7, 2023
@Randgalt
Copy link
Owner

Randgalt commented Feb 7, 2023

Thank you for the contribution!

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