8000 IGNT-162 Fix serializer for export status by shubhamgoel24 · Pull Request #1893 · 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 #1893

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

IGNT-162 Fix serializer for export status #1893

merged 1 commit into from
May 26, 2025

Conversation

shubhamgoel24
Copy link
Contributor

No description provided.

@Copilot Copilot AI review requested due to automatic review settings May 26, 2025 05:59
@shubhamgoel24 shubhamgoel24 requested a review from a team as a code owner May 26, 2025 05:59
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 fixes the serializer import for export status and introduces new feature flags in the Docker Compose configuration.

  • Rename export status serializer variables to lowercase-defined constants
  • Add several new ENABLE_* and DISABLE_* environment flags in docker-compose.yml

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/fhir/serializers/4_0_0/custom_resources/index.js Renamed serializer constants and exports
docker-compose.yml Added new environment flags for feature toggles
Comments suppressed due to low confidence (1)

src/fhir/serializers/4_0_0/custom_resources/index.js:1

  • [nitpick] Use camelCase for serializer constants (e.g., exportStatusEntrySerializer) to match JS naming conventions and avoid mismatches when importing elsewhere.
const exportstatusentryserializer = require('./exportStatusEntry');

Comment on lines +75 to +80
ENABLE_SWAGGER_DOC: 1
ENABLE_FAST_SERIALIZER_IN_SEARCH_BY_ID: 1
ENABLE_FAST_SERIALIZER_IN_GRAPH_OP: 1
ENABLE_FAST_SERIALIZER_IN_SEARCH: 1
ENABLE_RAW_BUNDLE_IN_EVERYTHING_OP: 1
DISABLE_GRAPH_IN_EVERYTHING_OP: 1
Copy link
Preview
Copilot AI May 26, 2025

Choose a reason for hiding this comment

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

Use consistent boolean string values (e.g., 'true'/'false') for feature flags to align with existing environment variable patterns and prevent parsing inconsistencies.

Suggested change
8000
ENABLE_SWAGGER_DOC: 1
ENABLE_FAST_SERIALIZER_IN_SEARCH_BY_ID: 1
ENABLE_FAST_SERIALIZER_IN_GRAPH_OP: 1
ENABLE_FAST_SERIALIZER_IN_SEARCH: 1
ENABLE_RAW_BUNDLE_IN_EVERYTHING_OP: 1
DISABLE_GRAPH_IN_EVERYTHING_OP: 1
ENABLE_SWAGGER_DOC: '1'
ENABLE_FAST_SERIALIZER_IN_SEARCH_BY_ID: '1'
ENABLE_FAST_SERIALIZER_IN_GRAPH_OP: '1'
ENABLE_FAST_SERIALIZER_IN_SEARCH: '1'
ENABLE_RAW_BUNDLE_IN_EVERYTHING_OP: '1'
DISABLE_GRAPH_IN_EVERYTHING_OP: '1'

Copilot uses AI. Check for mistakes.

@shubhamgoel24 shubhamgoel24 merged commit 878064d into main May 26, 2025
12 checks passed
@shubhamgoel24 shubhamgoel24 deleted the SG-IGNT-162 branch May 26, 2025 06:45
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