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: adding support for arbitrary field #2717

Merged
merged 10 commits into from
Sep 11, 2024

Conversation

hthieu1110
Copy link
Contributor

@hthieu1110 hthieu1110 commented Aug 20, 2024

Related to this PR and Manfred's idea, this PR aims at adding possibility to add arbitrary field to profile.

I keep the same fields list defined in the struct, they would be served as "standard/base" fields and all other arbitrary fields are considered as "extra".

Contributors' checklist...
  • Added new tests, or not needed, or not feasible
  • Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory
  • Updated the official documentation or not needed
  • No breaking changes were made, or a BREAKING CHANGE: xxx message was included in the description
  • Added references to related issues and PRs
  • Provided any useful hints for running manual tests
  • Added new benchmarks to generated graphs, if any. More info here.

@github-actions github-actions bot added the 🧾 package/realm Tag used for new Realms or Packages. label Aug 20, 2024
Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.43%. Comparing base (dd2d374) to head (77ce51e).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2717      +/-   ##
==========================================
- Coverage   60.44%   60.43%   -0.02%     
==========================================
  Files         563      563              
  Lines       75159    75159              
==========================================
- Hits        45431    45419      -12     
- Misses      26341    26349       +8     
- Partials     3387     3391       +4     
Flag Coverage Δ
contribs/gnodev 60.65% <ø> (-0.82%) ⬇️
contribs/gnofaucet 14.46% <ø> (ø)
gno.land 67.21% <ø> (ø)
gnovm 64.46% <ø> (ø)
misc/genstd 80.54% <ø> (ø)
misc/logos 19.88% <ø> (ø)
tm2 62.05% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hthieu1110 hthieu1110 changed the title Feat: Adding support for arbitrary field feat: Adding support for arbitrary field Aug 22, 2024
@hthieu1110 hthieu1110 changed the title feat: Adding support for arbitrary field feat: adding support for arbitrary field Aug 22, 2024
@hthieu1110 hthieu1110 marked this pull request as ready for review August 22, 2024 15:15
@hthieu1110 hthieu1110 requested review from a team as code owners August 22, 2024 15:15
@hthieu1110 hthieu1110 requested review from jaekwon and zivkovicmilos and removed request for a team August 22, 2024 15:15
Copy link
Member

@zivkovicmilos zivkovicmilos left a comment

Choose a reason for hiding this comment

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

Thank you for the tweak 🙏

I've left a few comments that should be addressed before we move forward

examples/gno.land/r/demo/profile/profile.gno Outdated Show resolved Hide resolved
examples/gno.land/r/demo/profile/profile.gno Show resolved Hide resolved
@zivkovicmilos
Copy link
Member

@hthieu1110
Can you please check why the CI is failing?

n0izn0iz and others added 2 commits September 11, 2024 12:49
Signed-off-by: Norman Meier <norman@samourai.coop>
Copy link
Member

@zivkovicmilos zivkovicmilos left a comment

Choose a reason for hiding this comment

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

Thank you for applying the fixes 🙏

@zivkovicmilos zivkovicmilos merged commit f04ec89 into gnolang:master Sep 11, 2024
119 checks passed
@n0izn0iz n0izn0iz deleted the feat/support-arbitrary-fields branch September 11, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧾 package/realm Tag used for new Realms or Packages.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants