Skip to content

Comments

[feature] Added new Uint64 GraphQL scalar, added Interval field to Beacon#396

Merged
KCarretto merged 1 commit intomainfrom
add-beacon-interval
Dec 11, 2023
Merged

[feature] Added new Uint64 GraphQL scalar, added Interval field to Beacon#396
KCarretto merged 1 commit intomainfrom
add-beacon-interval

Conversation

@KCarretto
Copy link
Collaborator

What type of PR is this?

What this PR does / why we need it:

Adds a new Interval field to the Beacon, which will enable clients to estimate the next expected check-in time. It will also provide some more information about the frequency of callbacks, so that users can further distinguish between Beacons. This required adding a new Uint64 scalar to our GraphQL schema.

Which issue(s) this PR fixes:

Fixes #394

Annotations(
entgql.Type("Uint64"),
entgql.OrderField("INTERVAL"),
entgql.Skip(entgql.SkipMutationUpdateInput),
Copy link
Collaborator

Choose a reason for hiding this comment

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

I remember this being added to the other fields since they weren't being immutable.
This field will update. Do we still want to keep the Skip?

Copy link
Collaborator

@hulto hulto left a comment

Choose a reason for hiding this comment

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

One question otherwise looks good

@KCarretto KCarretto merged commit 8aa3181 into main Dec 11, 2023
@KCarretto KCarretto deleted the add-beacon-interval branch December 11, 2023 03:03
KCarretto added a commit that referenced this pull request Feb 1, 2024
 
Added new Uint64 GraphQL scalar, added Interval field to Beacon (#396)
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