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!: add GraphQL subscriptions support #141

Merged

Conversation

yusufkandemir
Copy link
Member

@yusufkandemir yusufkandemir commented Sep 18, 2023

Resolves #104.

Breaking Change: Dropped support for @quasar/app v3. Dropping it made it easier to apply some fixes and it's deprecated:

Deprecated. Should switch from @quasar/app v3 to @quasar/app-webpack v3 instead, which is the direct (and non breaking-change) continuation.

Previously, we used TS files as the source for the template files, then built it to create JS versions of the templates. However, this makes it harder to use Lodash templating inside code. We would need first to render the template, and then build the JS files off of the generated TS file. I updated the structure to eliminate the TS build step. We now have JS and TS templates separately, so they need to be synced manually if needed. We use this approach in Quasar core code and in testing AEs as well.

I also improved the linting setup. There are some limitations/problems, which probably need to be resolved at https://github.com/ota-meshi/eslint-plugin-lodash-template. I will report those problems later.

Copy link
Member

@IlCallo IlCallo left a comment

Choose a reason for hiding this comment

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

Seems mostly fine, I left some low priority comments to improve it


extends: [
'eslint:recommended',
'plugin:lodash-template/recommended-with-script'
Copy link
Member

Choose a reason for hiding this comment

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

It seems like you're not adding this into any plugins array, may this be the problem

Copy link
Member Author

Choose a reason for hiding this comment

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

@smolinari smolinari merged commit 78f5010 into quasarframework:v2 Sep 20, 2023
@smolinari smolinari mentioned this pull request Sep 20, 2023
@yusufkandemir yusufkandemir deleted the feature/add-web-sockets-support branch November 2, 2023 10:56
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.

3 participants