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

Quarkus: do all scans (not limited to security checks) #3324

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

Conversation

peteroyle
Copy link
Contributor

Description

Rather than just calling dictionary.scanForSecurityChecks() we now call elide.doScans() instead. This causes the built-in type converters to be registered, whereas they weren't before. Security checks are still also registered, as before.

Motivation and Context

This solves the issue whereby the built in type converters were not being registered by the quarkus extension. For example, attempting to use OffsetDateTime as a field type resulted in a failure at runtime due to the type being unknown.

How Has This Been Tested?

A simple new, passing test is added that filters on a OffsetDateTime field. I have confirmed the test failed before the change was implemented.

License

I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

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.

1 participant