kwin commented on code in PR #37:
URL: 
https://github.com/apache/sling-org-apache-sling-graphql-core/pull/37#discussion_r1311333882


##########
src/main/java/org/apache/sling/graphql/api/SelectedField.java:
##########
@@ -39,6 +39,34 @@ public interface SelectedField {
     @Nullable
     String getName();
 
+    /** @return the simple qualified name of the selected field **/
+    @Nullable
+    String getQualifiedName();
+
+    /**
+     * @return the fully qualified name of the item
+     */
+    @Nullable
+    String getFullyQualifiedName();
+
+    /** @return level of the selected field within the query **/
+    int getLevel();
+
+    /** @return whether the field is conditionally present **/
+    boolean isConditional();
+
+    /**
+     * @return the alias of the selected field or null if not alias was used
+     */
+    String getAlias();
+
+    /**
+     * The result key is either the field query alias OR the field name in 
that preference order
+     *
+     * @return the result key of the selected field
+     */
+    String getResultKey();
+

Review Comment:
   It is Jetbrains null annotations nowadays 
(https://sling.apache.org/documentation/development/null-analysis.html) :-)



-- 
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: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to