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: metadata export and default empty entries #272

Merged
merged 1 commit into from
Mar 30, 2022

Conversation

pvlugter
Copy link
Member

The metadata module was being exported in place of just the Metadata class. Also make the entries parameter optional with default empty array in the jsdoc type declaration.

Metadata tests import directly from the source file, and Metadata is not used in the samples (which do use the SDK), so not currently covered by tests. Suggests that being able to import the SDK exports in the tests would be useful — these go through some processing though, given the current setup. Could also extend a sample to make use of metadata. Just manually verified for now.

@github-actions github-actions bot added kalix-runtime Runtime and SDKs sub-team javascript-sdk labels Mar 29, 2022
@octonato
Copy link
Member

I guess this is good to go even during the renaming efforts. So, I will just merge it.

@octonato octonato merged commit 87c5297 into lightbend:main Mar 30, 2022
@johanandren johanandren mentioned this pull request Mar 30, 2022
johanandren added a commit that referenced this pull request Mar 30, 2022
* fix: metadata export and default empty entries (#272)
Co-authored-by: Peter Vlugter <pvlugter@users.noreply.github.com>
@pvlugter pvlugter deleted the metadata-export branch March 30, 2022 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript-sdk kalix-runtime Runtime and SDKs sub-team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants