dylibso / xtp-csharp-bindgen

BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

error when no export function description is in schema #11

Open nilslice opened 2 days ago

nilslice commented 2 days ago
Error: failed to render template: Uncaught TypeError: ejs:13
    11| <% if (needsDocumentation(ex)) { %>
    12| /// <summary> <% -%>
 >> 13| <% ex.description.split('\n').filter(line => line.trim() !== "").forEach(line => { %>
    14| /// <%= line.trim() -%>
    15| <% }) %>
    16| /// </summary>

cannot read property 'split' of undefined
bhelx commented 2 days ago

When we merge the validate PR, we b r to hook validator up as a pre-generation step now that we support generating outside the platform