Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0 Dart client generation #3

Merged
merged 37 commits into from
Apr 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
51ffd45
v0 working against test server
austinmilt Apr 11, 2024
612d9e0
remove unused docs
austinmilt Apr 11, 2024
dd49135
update pubspec docs
austinmilt Apr 11, 2024
e34b5fa
make the test script flexible wrt webrpc script location
austinmilt Apr 11, 2024
4067680
update test code generation to dart analyzed directory
austinmilt Apr 11, 2024
d6aef91
add custom schema tests and datetime conversions
austinmilt Apr 12, 2024
16e13ef
schema validation WIP
austinmilt Apr 12, 2024
d20bc1d
illustrate missing fields for User
austinmilt Apr 12, 2024
8e427cc
support null and any types in schema
austinmilt Apr 16, 2024
9bf79c0
support recursive objects and non-string map keys
austinmilt Apr 16, 2024
036b9a0
additional custom schema for API calls
austinmilt Apr 18, 2024
d2c19be
use BigInt for 64-bit ints
austinmilt Apr 18, 2024
fd4ed59
use BigInt for 64-bit integers
austinmilt Apr 18, 2024
af88a2c
ignore integer issues (no BigInt)
austinmilt Apr 18, 2024
41fde34
finish core types tests
austinmilt Apr 18, 2024
62152ba
test simple structs
austinmilt Apr 18, 2024
08ade73
complex service specs
austinmilt Apr 19, 2024
a4610be
custom schema error tests
austinmilt Apr 19, 2024
019343e
example initialization and structure
austinmilt Apr 19, 2024
7c292fd
action button to create item
austinmilt Apr 19, 2024
a0290a9
mock get items and their details
austinmilt Apr 19, 2024
45412f5
put and take items
austinmilt Apr 19, 2024
0a67c14
better add and take one item
austinmilt Apr 19, 2024
812b48d
delete an item
austinmilt Apr 19, 2024
c0ed1e3
example app with mocked backend
austinmilt Apr 19, 2024
e864b25
example tests for example frontend
austinmilt Apr 20, 2024
f6127a2
implement go example server
austinmilt Apr 20, 2024
568a5ba
switch to using dart http package for requests
austinmilt Apr 20, 2024
119ae5f
launch config for example go server
austinmilt Apr 20, 2024
c0ae937
docs on running example app
austinmilt Apr 20, 2024
caa7c45
github action for running tests
austinmilt Apr 20, 2024
0b56051
change webrpc version for github actions
austinmilt Apr 22, 2024
a490d44
fix webrpc download location in CI build
austinmilt Apr 22, 2024
e26291e
add dart dependency
austinmilt Apr 22, 2024
dbd096f
fix dart version in CI runner
austinmilt Apr 22, 2024
778fc8d
use working-directory for ci workflow
austinmilt Apr 22, 2024
bccb2a4
increase timeout of webrcp-test server to reuse existing for tests
austinmilt Apr 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use working-directory for ci workflow
austinmilt committed Apr 22, 2024
commit 778fc8d22d9c7c6fc269f29d91f0df15075ae73b
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -41,13 +41,17 @@ jobs:
sdk: ${{ matrix.dart-version }}

- name: Download webrpc binaries
run: cd tests && ./scripts/download.sh ${{ matrix.webrpc-version }} .tmp/
working-directory: ./tests
run: ./scripts/download.sh ${{ matrix.webrpc-version }} .tmp/

- name: Export path of webrpc binaries
run: cd tests && echo "$PWD/.tmp" >> $GITHUB_PATH
working-directory: ./tests
run: echo "$PWD/.tmp" >> $GITHUB_PATH

- name: Install Dart dependencies
run: cd tests && dart pub get
working-directory: ./tests
run: dart pub get

- name: Run interoperability tests
run: cd tests && ./scripts/test.sh
working-directory: ./tests
run: ./scripts/test.sh