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

Feat/objectarium pin unpin mapper #9

Merged
merged 3 commits into from
Aug 9, 2023
Merged

Conversation

ErikssonJoakim
Copy link
Contributor

This PR is part of

It adds the pins field to keep track of who's pinned an object.

As a follow up we should add tests and I would suggest making the pins field in the schema obligatory with optional elements once this issue has been fixed.

@ErikssonJoakim ErikssonJoakim self-assigned this Aug 4, 2023
@ErikssonJoakim ErikssonJoakim marked this pull request as ready for review August 4, 2023 15:19
@ccamel ccamel marked this pull request as draft August 4, 2023 17:19
@ccamel ccamel assigned amimart and ccamel and unassigned ErikssonJoakim Aug 4, 2023
Copy link
Member

@ccamel ccamel left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@ccamel ccamel marked this pull request as ready for review August 4, 2023 17:25
@ccamel
Copy link
Member

ccamel commented Aug 4, 2023

@ErikssonJoakim I've refined the implementation style (a bit) to enhance its simplicity and clarity - see dd807f1.

Copy link
Contributor

@fredericvilcot fredericvilcot left a comment

Choose a reason for hiding this comment

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

Great job, just minor remarks to improve readability 😌

src/mappings/handleStoreObject.ts Show resolved Hide resolved
src/mappings/handleStoreObject.ts Show resolved Hide resolved
src/mappings/handleStoreObject.ts Outdated Show resolved Hide resolved
src/mappings/handleUnpinObject.ts Outdated Show resolved Hide resolved
@ccamel ccamel force-pushed the feat/objectarium-pin-unpin-mapper branch from dd807f1 to f6a5d1e Compare August 4, 2023 20:39
@ccamel ccamel force-pushed the feat/objectarium-pin-unpin-mapper branch from f6a5d1e to b660756 Compare August 4, 2023 20:43
Copy link
Contributor

@fredericvilcot fredericvilcot left a comment

Choose a reason for hiding this comment

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

LGTM 😎

Copy link
Member

@amimart amimart left a comment

Choose a reason for hiding this comment

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

Nice, just a few remarks :)

schema.graphql Show resolved Hide resolved
src/mappings/handlePinObject.ts Show resolved Hide resolved
@ccamel ccamel requested a review from amimart August 9, 2023 10:03
Copy link
Member

@amimart amimart left a comment

Choose a reason for hiding this comment

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

Let's go 🚀

@ccamel ccamel merged commit 5237e68 into main Aug 9, 2023
9 checks passed
@ccamel ccamel deleted the feat/objectarium-pin-unpin-mapper branch August 9, 2023 12:32
@bot-anik
Copy link
Member

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants