Skip to content

Commit 5041c97

Browse files
committed
Renaming BuildInContentDataGraphType to PublishedContentDataGraphType
1 parent 4b23907 commit 5041c97

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Our.Umbraco.GraphQL/Types/ComplexGraphTypeOfIPublishedContentExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ internal static class ComplexGraphTypeOfIPublishedContentExtensions
2020
public static ComplexGraphType<IPublishedContent> AddUmbracoBuiltInProperties(this ComplexGraphType<IPublishedContent> graphType)
2121
{
2222
// TODO: set this field name as a reserved property alias
23-
graphType.Field<BuildInContentDataGraphType>("_contentData", "Built in published content data.", resolve: context => context.Source);
23+
graphType.Field<PublishedContentDataGraphType>("_contentData", "Built in published content data.", resolve: context => context.Source);
2424

2525
return graphType;
2626
}

src/Our.Umbraco.GraphQL/Types/PublishedContentGraphType.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ public PublishedContentGraphType()
1313
}
1414
}
1515

16-
public class BuildInContentDataGraphType : ObjectGraphType<IPublishedContent>
16+
public class PublishedContentDataGraphType : ObjectGraphType<IPublishedContent>
1717
{
18-
public BuildInContentDataGraphType()
18+
public PublishedContentDataGraphType()
1919
{
2020
Name = "ContentData";
2121

0 commit comments

Comments
 (0)