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

Item route cleanup #1884

Merged
merged 3 commits into from
Jan 29, 2025
Merged

Item route cleanup #1884

merged 3 commits into from
Jan 29, 2025

Conversation

smadbe
Copy link
Contributor

@smadbe smadbe commented Jan 27, 2025

Description

To be reviewed per commit.

2 refactoring related to item routes:

  • improve format for item answer
  • extract the serialization and parameter handling out from item-route.ts file to clarify. Improve a bit the code of these extracted functions.

@smadbe smadbe changed the base branch from master to item-type-cleanup January 27, 2025 10:49
@smadbe
Copy link
Contributor Author

smadbe commented Jan 27, 2025

Base automatically changed from item-type-cleanup to master January 27, 2025 10:56
@smadbe smadbe requested a review from Iloveall January 27, 2025 10:59
if (!contentType) return null;

// parsing id
const aliasOrid = mainSegment.path;
Copy link
Collaborator

Choose a reason for hiding this comment

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

aliasOrid => aliasOrId

@smadbe smadbe merged commit 717a6a9 into master Jan 29, 2025
8 of 9 checks passed
@smadbe smadbe deleted the item-route-cleanup branch January 29, 2025 10:07
@smadbe
Copy link
Contributor Author

smadbe commented Jan 29, 2025

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