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

Let the Stanza class extend the Builder class. #769

Merged
merged 7 commits into from
Dec 16, 2024

Conversation

jcbrand
Copy link
Contributor

@jcbrand jcbrand commented Dec 11, 2024

This enables better compatibility between the two and lets us use Builder methods on Stanza classes.

@jcbrand jcbrand force-pushed the jcbrand/stanza-refactor branch from c2813e3 to 5351b8e Compare December 12, 2024 06:11
This enables better compatibility between the two and lets us use
Builder methods on Stanza classes.
Make the `toStanzaElement` a static function `Stanza.toElement`
It would be nice to have tests split up into modules, but this causes
all kinds of headaches with running the tests in both the browser and
NodeJS. So we're keeping them in one file for now.
@jcbrand jcbrand force-pushed the jcbrand/stanza-refactor branch from 5351b8e to 623aad4 Compare December 16, 2024 07:03
@jcbrand jcbrand merged commit a0cb692 into master Dec 16, 2024
1 check passed
@jcbrand jcbrand deleted the jcbrand/stanza-refactor branch December 16, 2024 07:24
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.

1 participant