Sergey Kamov created NLPCRAFT-505:
-------------------------------------

             Summary: Nullable arguments for API methods.
                 Key: NLPCRAFT-505
                 URL: https://issues.apache.org/jira/browse/NLPCRAFT-505
             Project: NLPCraft
          Issue Type: Task
          Components: Main API
            Reporter: Sergey Kamov
            Assignee: Aaron Radzinski
             Fix For: 1.0.0


Maybe better to have Option instead of nullable arguments of API methods  and 
functions return type.
Example: 
 - org.apache.nlpcraft.NCModel#onRejection(org.apache.nlpcraft.NCIntentMatch - 
nullable, e: NCRejection): NCResult  - nullable result



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to