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

Add Query.ignoreColumn() #273

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

StanAccy
Copy link

@StanAccy StanAccy commented Apr 6, 2017

Add ability to ignore specific fields when mapping POJOs. The blanket "ignore mapping exceptions" option that was added actually hid defects since primitive values in the POJO were being initialized with incorrect values

@vertex-github
Copy link
Contributor

Bump - can we get this merged in - is anything blocking it? (well, apart from the conflict now on PojoMetadata - that wasnt there when we submitted the PR)

@aaberg
Copy link
Owner

aaberg commented Apr 13, 2024

Sorry for replying to this so late. Is there a specific reason why you can't remove the column from the query?

@StanAccy
Copy link
Author

StanAccy commented Apr 13, 2024 via email

@aaberg
Copy link
Owner

aaberg commented Apr 13, 2024

Thanks. You are right; there is a use case here, although it is debatable if fetching columns that won't be used is good practice. I am thinking that maybe the existing columnMappings can be expanded to incorporate this feature instead, which I believe will result in a better API.

@StanAccy
Copy link
Author

StanAccy commented Apr 13, 2024 via email

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.

3 participants