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

Tiny fix to Automatic Namespace Generation #116

Merged
merged 1 commit into from
Nov 10, 2024

Conversation

ogaclejapan
Copy link
Contributor

This PR includes modifications to the implementation merged in #115:

  • Defined a new Namespace value class
  • Moved the auto function to an extension function within the companion object of Namespace

This PR includes modifications to the implementation merged in #115:

- Defined a new `Namespace` value class
- Moved the `auto` function to an extension function within the companion object of `Namespace`
@ogaclejapan ogaclejapan added the enhancement New feature or request label Nov 10, 2024
@ogaclejapan ogaclejapan merged commit d9a1332 into main Nov 10, 2024
3 checks passed
@ogaclejapan ogaclejapan deleted the tweak-automatic-namespace-generation branch November 10, 2024 00:38
@github-actions github-actions bot mentioned this pull request Nov 10, 2024
ogaclejapan added a commit that referenced this pull request Nov 24, 2024
In #115 and #116, we introduced the `auto` extension function to assist with the automatic generation of unique namespaces for Mutations and Subscriptions.
This PR adds an alternative that allows the use of a value calculated from `currentCompositionKeyHash` instead of the
`auto` function, but only within a Composable function limited to a single key.
ogaclejapan added a commit that referenced this pull request Nov 24, 2024
In #115 and #116, we introduced the `auto` extension function to assist with the automatic generation of unique namespaces for Mutations and Subscriptions.
This PR adds an alternative that allows the use of a value calculated from `currentCompositionKeyHash` instead of the
`auto` function, but only within a Composable function limited to a single key.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant