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

feat(ssr-compiler): api decorator support #4766

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ekashida
Copy link
Member

@ekashida ekashida commented Nov 1, 2024

Details

Does this pull request introduce a breaking change?

  • ๐Ÿ˜ฎโ€๐Ÿ’จ No, it does not introduce a breaking change.
  • ๐Ÿ’” Yes, it does introduce a breaking change.

Does this pull request introduce an observable change?

  • ๐Ÿคž No, it does not introduce an observable change.
  • ๐Ÿ”ฌ Yes, it does include an observable change.

GUS work item

@ekashida ekashida requested a review from a team as a code owner November 1, 2024 19:52
Copy link
Collaborator

@nolanlawson nolanlawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are missing some tests for what happens with @api when there is a subclass/superclass relationship.

See these Karma tests for some components that we can probably just import wholesale and use for testing.

@ekashida ekashida force-pushed the ekashida/api-decorator-support branch from 4f09b90 to e1dfd53 Compare November 4, 2024 23:00
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need expected-ssr.html here? We can't align SSR v2 with engine-server?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do that in a different PR, I'll create a work item for it.

props = __filterProperties(
props,
new Set(${/*public fields*/ is.arrayExpression}),
new Set(${/*private fields*/ is.arrayExpression}),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can move the new Set() into the helper function to make this a bit cleaner.

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