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

Support nested property namespace functions in namespaceFunctions #1104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gobzila
Copy link

@gobzila gobzila commented Jan 3, 2025

Why am I submitting this PR

This PR adds support for recognizing namespace functions defined as nested properties (e.g., i18n.useTranslate) in the namespaceFunctions lexer option. This functionality brings consistency with functions and componentFunctions, which already support nested property functions.

Does it fix an existing ticket?

Yes - #1103

Checklist

  • only relevant code is changed (make a diff before you submit the PR)
  • do no modify the version in package.json or CHANGELOG.md
  • tests are included and pass: yarn test (see details here)
  • documentation is changed or added - I believe the existing documentation is sufficient, but I'm happy to add more if needed.

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