Updated translation service and finished splitting out responsibilities for now
This commit is contained in:
@@ -46,7 +46,7 @@ public class Mutation
|
||||
{
|
||||
Author = new Person()
|
||||
{
|
||||
Name = metadata.AuthorName,
|
||||
Name = LocalizationKey.CreateFromText(metadata.AuthorName, metadata.RawLanguage),
|
||||
ExternalUrl = metadata.AuthorUrl,
|
||||
},
|
||||
RawLanguage = metadata.RawLanguage,
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
using FictionArchive.Service.NovelService.Models.Novels;
|
||||
using FictionArchive.Service.NovelService.Services;
|
||||
using HotChocolate.Data;
|
||||
using HotChocolate.Types;
|
||||
|
||||
namespace FictionArchive.Service.NovelService.GraphQL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user