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
With the following functions.ts , the connector starts up, even though it is syntactically invalid (two functions named hello with the same signature)
/** * @readonly Exposes the function as an NDC function (the function should only query data without making modifications) */exportfunctionhello(name?: string){return`HELLO ${name??"world"}`;}/** * @readonly Exposes the function as an NDC function (the function should only query data without making modifications) */exportfunctionhello(name?: string){return{greeting: name};}
I would expect the connector to crash if it encounters a project where TS encounters errors on compilation. This behavior is misleading as currently with this functions.ts , ddn connector introspect <connector-name> goes through without error but gets empty schema and updates the DataConnectorLink with it (removing my old schema, if any)
The text was updated successfully, but these errors were encountered:
With the following
functions.ts
, the connector starts up, even though it is syntactically invalid (two functions namedhello
with the same signature)I would expect the connector to crash if it encounters a project where TS encounters errors on compilation. This behavior is misleading as currently with this
functions.ts
,ddn connector introspect <connector-name>
goes through without error but gets emptyschema
and updates the DataConnectorLink with it (removing my old schema, if any)The text was updated successfully, but these errors were encountered: