A developer is using type system in GraphQL, and he requires a field which should never be null. What is the possibility to ensure that a field never goes null?

Possible with keyword null next to the field
Possible by adding an exclamation mark(!) after the field declaration
Possible with a leading exclamation mark(!) on the field
Possible with declaring it as scalar type Id
Verified Answer
Correct Option - b

To get all Infosys Certified GraphQL Spring Boot Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram