dbalek commented on code in PR #7068:
URL: https://github.com/apache/netbeans/pull/7068#discussion_r1491358424


##########
enterprise/micronaut/src/org/netbeans/modules/micronaut/db/MicronautDataEndpointGenerator.java:
##########
@@ -94,8 +104,13 @@ public class MicronautDataEndpointGenerator implements 
CodeActionProvider, Comma
     private static final String OFFSET =  "offset";
     private static final String REPOSITORIES =  "repositories";
     private static final String ENDPOINTS =  "endpoints";
+    private static final String CONTROLLER_ID =  "controllerId";
 
-    private final Gson gson = new Gson();
+    private final Gson gson = new 
GsonBuilder().registerTypeAdapter(NotifyDescriptor.QuickPick.Item.class, 
(JsonDeserializer<NotifyDescriptor.QuickPick.Item>) (JsonElement json, Type 
type, JsonDeserializationContext jdc) -> {

Review Comment:
   Could be done later if more than the single use-case appears.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to