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: pass pathway id to the form query in awell sdk #529

Conversation

ebomcke-awell
Copy link
Contributor

@ebomcke-awell ebomcke-awell commented Nov 26, 2024

User description

  • this allows for form and question metadata to use constants

PR Type

enhancement, dependencies


Description

  • Added pathway_id to the form query in the Awell SDK to enhance form and question metadata handling.
  • Updated @awell-health/awell-sdk to version 0.1.18 in both .pnp.cjs and package.json to ensure consistency and access to the latest features.

Changes walkthrough 📝

Relevant files
Enhancement
getLatestFormInCurrentStep.ts
Add pathway ID to form query in Awell SDK                               

src/lib/awell/getLatestFormInCurrentStep/getLatestFormInCurrentStep.ts

  • Added pathway_id to the form query arguments.
  • Enhances the ability to use constants in form and question metadata.
  • +1/-0     
    Dependencies
    .pnp.cjs
    Update Awell SDK version in PnP configuration                       

    .pnp.cjs

    • Updated @awell-health/awell-sdk version from 0.1.17 to 0.1.18.
    +6/-6     
    package.json
    Bump Awell SDK version in package.json                                     

    package.json

    • Updated @awell-health/awell-sdk dependency version to 0.1.18.
    +1/-1     

    💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

    Copy link

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ Recommended focus areas for review

    Dependency Validation
    Ensure that the addition of pathway_id to the form query is compatible with all existing and future form configurations in the Awell SDK.

    Copy link

    PR Code Suggestions ✨

    No code suggestions found for the PR.

    @ebomcke-awell ebomcke-awell merged commit 8d365a5 into main Nov 26, 2024
    1 check passed
    @ebomcke-awell ebomcke-awell deleted the et-477-mitigate-the-risk-of-promotion-issues-in-form-metadata branch November 26, 2024 19:49
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    1 participant