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

fix: update vue examples #130

Merged
merged 25 commits into from
Dec 2, 2022
Merged

fix: update vue examples #130

merged 25 commits into from
Dec 2, 2022

Conversation

travis
Copy link
Member

@travis travis commented Nov 29, 2022

I got all these working in a basic way, but had trouble passing the staging service principals and connections through to the providers to test against staging - I think this is the right way to pass them through in Vue:

Screen Shot 2022-11-28 at 5 22 51 PM

but Vue complains like this:

Screen Shot 2022-11-28 at 5 24 08 PM

and the servicePrincipal and connection are undefined inside KeyringProvider - @alanshaw am I just bad at Vue or do we need to do something special to make sure servicePrincipal and connection are defined as "props" in the Providers?

@travis travis changed the base branch from main to feat/integrate-new-ucanto November 29, 2022 01:20
@codesandbox-ci
Copy link

codesandbox-ci bot commented Nov 29, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit cbe448c:

Sandbox Source
@w3ui/example-react-file-upload Configuration
@w3ui/example-react-sign-up-in Configuration
@w3ui/example-react-uploads-list Configuration
@w3ui/example-solid-file-upload Configuration
@w3ui/example-solid-sign-up-in Configuration
@w3ui/example-solid-uploads-list Configuration
@w3ui/example-vue-file-upload Configuration
@w3ui/example-vue-sign-up-in Configuration
@w3ui/example-vue-uploads-list Configuration

Vue really seems to want to define types _their_ way, so introduce a props map per these docs:

https://vuejs.org/guide/typescript/options-api.html#typing-component-props
@travis
Copy link
Member Author

travis commented Nov 29, 2022

added a commit that fixes the issue above after a chat with @alanshaw - I still haven't been able to confirm this is working end-to-end as I'm getting a 500 from the execute API:

Screen Shot 2022-11-29 at 12 21 07 PM

This PR should be fine to merge anyway - I believe @yusefnapora was also seeing a 500 so we can track that down separately.

@travis travis requested a review from alanshaw November 29, 2022 21:27
Base automatically changed from feat/integrate-new-ucanto to next December 2, 2022 15:14
@alanshaw alanshaw merged commit 0110ae8 into next Dec 2, 2022
@alanshaw alanshaw deleted the fix/update-vue-examples branch December 2, 2022 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants