8000 IGNT-162 Fix serializer for export status by shubhamgoel24 · Pull Request #1894 · icanbwell/fhir-server · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

IGNT-162 Fix serializer for export status #1894

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

Merged
merged 1 commit into from
May 26, 2025
Merged

Conversation

shubhamgoel24
Copy link
Contributor

No description provided.

@Copilot Copilot AI review requested due to automatic review settings May 26, 2025 10:06
@shubhamgoel24 shubhamgoel24 requested a review from a team as a code owner May 26, 2025 10:06
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses the serializer initialization for export status by correcting the serializer name used when requiring the ExportStatusEntry module.

  • Renamed the condition check from "ExportStatusEntrySerializer" to "ExportStatusEntry" to match the module in initializeSerializers.
  • Updated calls in the output and errors properties to initialize the correct serializer.
Comments suppressed due to low confidence (2)

src/fhir/serializers/4_0_0/custom_resources/exportStatus.js:66

  • There appears to be a typo in the class name 'ExportStatusSerialzer'; consider renaming it to 'ExportStatusSerializer' for clarity and consistency.
class ExportStatusSerialzer {

src/fhir/serializers/4_0_0/custom_resources/exportStatus.js:29

  • The update from 'ExportStatusEntrySerializer' to 'ExportStatusEntry' is appropriate for matching the required module. Ensure that this naming convention aligns with similar serializer implementations elsewhere in the codebase.
if (serializerName === 'ExportStatusEntry' && !ExportStatusEntry) {

@shubhamgoel24 shubhamgoel24 merged commit ca025ff into main May 26, 2025
12 checks passed
@shubhamgoel24 shubhamgoel24 deleted the SG-IGNT-162_1 branch May 26, 2025 10:37
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.

2 participants
0