Stronger typing (or at least naming) for Settings and SaveContext and related methods
See original GitHub issueI’m trying to consume settings in MavenPlugin.doSave() and all I get is an Object. It’s unclear to me how to consume this object (is there a model, a parser, is it a map, a JSon String…?).
Stronger typing would tremendously help here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Breaking changes in EF Core 6.0 - Microsoft Learn
Complete list of breaking changes introduced in Entity Framework Core 6.0.
Read more >Entity Framework : how to catch any error - Stack Overflow
Consider to check the data validity before calling SaveChanges. In this case: check if first name, last name etc. are indeed not null....
Read more >4. Using Convention and Configuration for Relationships
In Chapter 3, you learned about convention and configuration that affect attributes of properties and the effects that these have on the database....
Read more >Don't let Entity Framework call the shots - Fear of Oblivion
In this case we still map the Teacher property on Class , but we skip setting the inverse property. Instead we define the...
Read more >Using Workbook Object in Excel VBA (Open, Close, Save, Set)
There are different ways to refer to a Workbook object in VBA. ... the name of that workbook (which would be the default...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

So it’s always a JsonObject? If so, can’t we change Object by JsonObject here and there?
From https://github.com/eclipse/lemminx-maven/blob/master/lemminx-maven/src/main/java/org/eclipse/lemminx/maven/MavenPlugin.java#L83 , I propogate the object until I need to read its values: https://github.com/eclipse/lemminx-maven/blob/master/lemminx-maven/src/main/java/org/eclipse/lemminx/maven/MavenPlugin.java#L129