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

fix: allow generics with link variant #374

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Conversation

lihbr
Copy link
Member

@lihbr lihbr commented Jan 15, 2025

Resolves: #372

Description

Allow link variants to be precisely typed with a generic.

Checklist

  • If my changes require tests, I added them.
  • If my changes affect backward compatibility, it has been discussed.
  • If my changes require an update to the CONTRIBUTING.md guide, I updated it.

Preview

See tests: https://github.com/prismicio/prismic-client/pull/374/files#diff-9557d8ecae877dbbb8ecc6dcfbc29d16d7602d12904e3180aed6918bd6eaad8f

How to QA 1

Footnotes

  1. Please use these labels when submitting a review:
    ❓ #ask: Ask a question.
    💡 #idea: Suggest an idea.
    ⚠️ #issue: Strongly suggest a change.
    🎉 #nice: Share a compliment.

Copy link
Contributor

@xrutayisire xrutayisire left a comment

Choose a reason for hiding this comment

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

Love it! Super nice to have 🙂

@lihbr lihbr merged commit 7cff55e into master Jan 16, 2025
12 checks passed
@lihbr lihbr deleted the lh/link-variant-generic branch January 16, 2025 14:15
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