[v3] Fix binding generator output and import paths (#3334)

* Fix relative import path computation

* Fix models output path

* Add option to generate bindings using bundled runtime

* Update binding example

* Fix testdata

* Update changelog

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
Fabio Massaioli
2024-03-22 21:18:04 +11:00
committed by GitHub
co-authored by Lea Anthony
parent f0986a6441
commit 45b2681dfc
56 changed files with 364 additions and 372 deletions
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
*/
/**
* Greet does XYZ
* Greet does XYZ
* @function Greet
* @param name {string}
* @returns {Promise<string>}
@@ -18,7 +18,7 @@ export async function Greet(name) {
}
/**
* NewPerson creates a new person
* NewPerson creates a new person
* @function NewPerson
* @param name {string}
* @returns {Promise<Person>}
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
*/
/**
* Greet does XYZ
* Greet does XYZ
* @function Greet
* @param name {string}
* @returns {Promise<string>}
@@ -18,7 +18,7 @@ export async function Greet(name) {
}
/**
* NewPerson creates a new person
* NewPerson creates a new person
* @function NewPerson
* @param name {string}
* @returns {Promise<Person>}
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
*/
/**
* Yay does this and that
* Yay does this and that
* @function Yay
* @returns {Promise<Address>}
**/
@@ -8,7 +8,7 @@ import {Call} from '@wailsio/runtime';
*/
/**
* Yay does this and that
* Yay does this and that
* @function Yay
* @returns {Promise<Address>}
**/