adding Data Requirement on XContent Service ...
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using xContentService.Models.Entities;
|
||||
using xDataService.GraphQL;
|
||||
|
||||
namespace xContentService.Providers.GraphQL
|
||||
{
|
||||
public class XContentGraphType : XBaseGraphObjectType<XContent, Guid>
|
||||
{
|
||||
public XContentGraphType() : base()
|
||||
{
|
||||
Field(x => x.Title);
|
||||
Field(x => x.OwnerId);
|
||||
Field(x => x.CreatedOn);
|
||||
Field(x => x.UpdatedAt);
|
||||
Field(x => x.Description);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user