cofacts / rumors-api

GraphQL API server for clients like rumors-site and rumors-line-bot
https://api.cofacts.tw
MIT License
110 stars 26 forks source link

refactor: add non-null to common types' fields #320

Closed MrOrz closed 11 months ago

MrOrz commented 12 months ago

Make GraphQL return types more strict so that clients can have less null checks.

Range: Article, Reply, ArticleReply

coveralls commented 12 months ago

Coverage Status

coverage: 88.397% (-0.1%) from 88.504% when pulling c3d3a1bfac98a7e610020d04c5bb4d0a1dcf5047 on non-nulls into 5946237adff3a1510d5db8cb9d327dacc334d9a7 on master.