diff --git a/kmp/data/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/data/feed/model/FeedItem.kt b/kmp/data/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/data/feed/model/FeedItem.kt index 590f09b5..d5e4d52a 100644 --- a/kmp/data/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/data/feed/model/FeedItem.kt +++ b/kmp/data/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/data/feed/model/FeedItem.kt @@ -13,7 +13,7 @@ sealed interface FeedItem { override val publishTimestamp: String, override val contentUrl: String, override val savedForLater: Boolean, - val featuredImageUrl: String, + val featuredImageUrl: String?, val description: String, ) : FeedItem diff --git a/kmp/feed-datasource/cloud/src/commonMain/graphql/io/github/reactivecircus/kstreamlined/graphql/schema.graphqls b/kmp/feed-datasource/cloud/src/commonMain/graphql/io/github/reactivecircus/kstreamlined/graphql/schema.graphqls index b3ecb04a..0f711b33 100644 --- a/kmp/feed-datasource/cloud/src/commonMain/graphql/io/github/reactivecircus/kstreamlined/graphql/schema.graphqls +++ b/kmp/feed-datasource/cloud/src/commonMain/graphql/io/github/reactivecircus/kstreamlined/graphql/schema.graphqls @@ -340,7 +340,7 @@ type KotlinBlog implements FeedEntry { """ Url of the feature image. """ - featuredImageUrl: String! + featuredImageUrl: String """ Description of the blog post. diff --git a/kmp/feed-datasource/common/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/feed/datasource/model/FeedEntry.kt b/kmp/feed-datasource/common/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/feed/datasource/model/FeedEntry.kt index 9766177a..c955721f 100644 --- a/kmp/feed-datasource/common/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/feed/datasource/model/FeedEntry.kt +++ b/kmp/feed-datasource/common/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/feed/datasource/model/FeedEntry.kt @@ -11,7 +11,7 @@ sealed interface FeedEntry { override val title: String, override val publishTimestamp: String, override val contentUrl: String, - val featuredImageUrl: String, + val featuredImageUrl: String?, val description: String, ) : FeedEntry