Comments (3)
I don't fully recall, but I believe HK2 DI bindings may not work correctly if you do scans before the first phase completes and HK2 is registered. This means serdes and security checks won't be injected.
from elide.
Thank you very much, @aklish !
When we put HK2 DI bindings in the 2nd phase exactly as Elide standalone did, everything worked on my machine, but the same code was not working on someone else's machine (it said injector.getService(Elide.class, "elide")
returns null
there). This was the reason we considered doing scans before 1st phase finished, because that way it worked everywhere
I will investigate this further (see the next comment below) and see if we can remove the null
problem and keep the scan in the 2nd phase. Yeah, we want to follow Elide example as much as possible.
Thanks for the help
from elide.
Everything just worked. We've managed to put scanning in the 2nd phase. The short answer is we have a config bug in our code previously.
from elide.
Related Issues (20)
- Does Elide support "speed" (average over date) measure? HOT 1
- "no transaction is in progress" with spring boot and 7.0.0 pr5 HOT 2
- OpenAPIBuilder removes paths for relationships that are 3 levels deep. (7.0.0pr5)
- Generated OAS incorrectly sets objects as nodes
- elide-spring-boot-starter:7.0.0-pr5 doesn't work with spring boot 3.1.1 HOT 5
- CVE-2023-34620 - HJson vulnerability. HOT 2
- Attempting to deploy standalone Elide WAR app results in "java.lang.IllegalStateException: No Jetty ContextHandler, Jakarta WebSocket SCI unavailable" HOT 2
- Elide 7.x Release schedule HOT 8
- Aggregation data store with json fields
- Hibernate L2 cache
- 7.0.0-pr6 error: Unknown collection HOT 1
- Cannot use Map with 7.0.0-pr6 HOT 2
- JsonApi.patch NullPointerException when missing headers
- RSQL =ini= cannot handle kotlin enums HOT 1
- Lifecycle hook ordering is not deterministic in v7 HOT 3
- Does Elide GraphQL support cascading delete? HOT 3
- Can every entity be root entity? HOT 2
- Entity scan on non-existing data model package silences error
- Mismatch between documentation and implementation of default page size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elide.