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

front: de-duplicate extractMarkerInformation() #10775

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

emersion
Copy link
Member

See individual commits.

All branches of the if are very similar here.

Unfortunately because of the MarkerProperties type definition we need this ternary and spread operator.

Reduces indentation, evacuates the edge case up-front.

Signed-off-by: Simon Ser <[email protected]>
All branches of the if are very similar here.

Unfortunately because of the MarkerProperties type definition we
need this ternary and spread operator.

Signed-off-by: Simon Ser <[email protected]>
@emersion emersion requested a review from a team as a code owner February 11, 2025 17:31
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Feb 11, 2025
Copy link
Contributor

@theocrsb theocrsb left a comment

Choose a reason for hiding this comment

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

LGTM and tested

@emersion emersion self-assigned this Feb 12, 2025
Copy link
Contributor

@SharglutDev SharglutDev left a comment

Choose a reason for hiding this comment

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

Nice, thank you

@emersion emersion added this pull request to the merge queue Feb 12, 2025
Merged via the queue into dev with commit 0a2b1ab Feb 12, 2025
27 checks passed
@emersion emersion deleted the emr/refacto-extract-marker-info branch February 12, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:front Work on Standard OSRD Interface modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants