Skip to content

fix(DF-922): add version fallback and remove unused versionNumber option#46

Closed
mokhld wants to merge 4 commits intomainfrom
fix/df-922-version-fallback
Closed

fix(DF-922): add version fallback and remove unused versionNumber option#46
mokhld wants to merge 4 commits intomainfrom
fix/df-922-version-fallback

Conversation

@mokhld
Copy link
Copy Markdown
Contributor

@mokhld mokhld commented Apr 13, 2026

  • Add try-catch fallback to getFormDefinition so versioned endpoint failures fall back to the current definition instead of crashing.
  • Remove unused versionNumber from FormModel constructor call.

Add try-catch fallback to getFormDefinition so versioned endpoint
failures fall back to the current definition instead of crashing.
Remove unused versionNumber from FormModel constructor call.
@mokhld mokhld marked this pull request as ready for review April 13, 2026 17:23
mokhld added 3 commits April 13, 2026 18:49
manager.js now imports createLogger at module level, so tests that
import manager.js need to mock the logger to avoid pino init errors.
Use nock to intercept the OIDC JWKS endpoint during tests instead of
hitting the real Microsoft endpoint, matching the pattern used by
forms-submission-api.
@sonarqubecloud
Copy link
Copy Markdown

@alexluckett
Copy link
Copy Markdown
Contributor

Not required any more now we've fixed the root cause. This can be closed.

@mokhld mokhld closed this May 1, 2026
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