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

Expose note publicId as id property #129

Merged
merged 37 commits into from
Feb 24, 2024
Merged

Conversation

elizachi
Copy link
Contributor

Now note is returned "id" which is public id. The tests have been finalized to reflect this change.

shvkhzod and others added 4 commits November 10, 2023 00:39
- added logic to wrap Note and NoteList to expose public id before sending to frontend
- Changed tests to accept note only with public id
@elizachi elizachi self-assigned this Nov 20, 2023
app-config.yaml Outdated Show resolved Hide resolved
src/domain/entities/note.ts Outdated Show resolved Hide resolved
src/domain/entities/noteListPublic.ts Outdated Show resolved Hide resolved
src/domain/entities/notePublic.ts Outdated Show resolved Hide resolved
src/domain/entities/notePublic.ts Outdated Show resolved Hide resolved
src/domain/entities/noteSettingsPublic.ts Outdated Show resolved Hide resolved
src/domain/entities/noteSettingsPublic.ts Outdated Show resolved Hide resolved
src/presentation/http/fastify.d.ts Outdated Show resolved Hide resolved
src/presentation/http/router/note.ts Outdated Show resolved Hide resolved
src/presentation/http/router/note.ts Outdated Show resolved Hide resolved
@TatianaFomina
Copy link
Contributor

please fix the tests

@elizachi
Copy link
Contributor Author

please fix the tests

In process 👌

Copy link
Contributor

@TatianaFomina TatianaFomina left a comment

Choose a reason for hiding this comment

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

There are some conflicts

image

@shvkhzod shvkhzod requested a review from neSpecc January 14, 2024 15:02
src/presentation/http/router/note.ts Outdated Show resolved Hide resolved
src/domain/entities/noteSettingsPublic.ts Outdated Show resolved Hide resolved
src/presentation/http/router/note.ts Outdated Show resolved Hide resolved
src/domain/entities/notePublic.ts Outdated Show resolved Hide resolved
src/presentation/http/router/note.ts Outdated Show resolved Hide resolved
src/presentation/http/router/note.ts Outdated Show resolved Hide resolved
src/presentation/http/router/note.ts Outdated Show resolved Hide resolved
src/presentation/http/router/note.ts Show resolved Hide resolved
src/presentation/http/router/note.ts Outdated Show resolved Hide resolved
src/presentation/http/router/note.ts Outdated Show resolved Hide resolved
src/presentation/http/router/note.ts Outdated Show resolved Hide resolved
src/presentation/http/router/noteList.ts Outdated Show resolved Hide resolved
src/presentation/http/router/noteList.ts Outdated Show resolved Hide resolved
neSpecc

This comment was marked as resolved.

src/presentation/http/router/note.ts Outdated Show resolved Hide resolved
src/presentation/http/router/noteList.ts Outdated Show resolved Hide resolved
src/presentation/http/schema/ResponseSchema.ts Outdated Show resolved Hide resolved
@TatianaFomina TatianaFomina changed the title chore: get note by id tests Expose note publicId as id property Feb 24, 2024
@TatianaFomina TatianaFomina merged commit 1d4d4d2 into main Feb 24, 2024
4 checks passed
@TatianaFomina TatianaFomina deleted the chore/get-note-by-id-tests branch February 24, 2024 18: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.

5 participants