question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve support for isRequired on Relationships

See original GitHub issue

Due to the use of back-references, the isRequired flag is tricky to enforce for Relationship fields. At the moment I don’t believe it’s adequately implemented. This tasks needs someone to go through the Relationship field and ensure that the isRequired semantics are correctly implemented across all use cases.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
MadeByMikecommented, Jun 3, 2020

We should update the docs until this is resolved.

0reactions
dcousenscommented, Mar 14, 2022

Hi @christopherliu,

There is an open discussion around this at https://github.com/keystonejs/keystone/discussions/7310. We’ll try and answer with our reasoning for why isRequired is missing soon!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building and maintaining healthy relationships | healthdirect
It can be hard to balance relationships, work, family and friends. You can help establish a work-life balance by setting limits at work...
Read more >
10 Ways To Build Trust in a Relationship
Trust-building activities (or icebreakers ) can be helpful in situations, such as group therapy, where bonding or building relationships is required.
Read more >
4 Simple Steps To Improve Relationships.
The purpose of this first step is to help you reflect on what's been lost and what could be gained or retrieved in...
Read more >
The Best Relationship Advice We Heard In 2022
Intentionality is required for a relationship to thrive. ... pieces and parts of what it will take to actually improve your relationship.
Read more >
Ways to Rebuild Trust in Your Relationship - Verywell Mind
Provide positive responses and reinforcement to help give your partner consistent feedback to things that please you or make you happy once you ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found