You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Sergey Kamov (Jira)" <ji...@apache.org> on 2022/06/30 07:20:00 UTC

[jira] [Created] (NLPCRAFT-505) Nullable arguments for API methods.

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)