You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the sapi_library, one of the parameters is a list of sandboxed functions.
Currently, when a symbol doesn't exist in the library, it's silently ignored.
I think this behavior is misleading.
If the API of the library is changed, there won't be any indication while building the SAPI library.
In some cases, this also may lead to extensive debugging from users why such function is not exposed in API class.
We should throw an error when a function can't be found in the library.
The text was updated successfully, but these errors were encountered:
oshogbo
changed the title
Throw an error when function doesn't exists
Throw an error when function doesn't exist
Jan 15, 2022
In the sapi_library, one of the parameters is a list of sandboxed functions.
Currently, when a symbol doesn't exist in the library, it's silently ignored.
I think this behavior is misleading.
If the API of the library is changed, there won't be any indication while building the SAPI library.
In some cases, this also may lead to extensive debugging from users why such function is not exposed in API class.
We should throw an error when a function can't be found in the library.
The text was updated successfully, but these errors were encountered: