Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Ardalis.Result;
using Axlis.Services;
using Axlis.ORM.Services;
using CleanArchitecture.Application.Api.Sitecore.Queries;
using CleanArchitecture.Application.Api.Sitecore.Responses;
using CleanArchitecture.Application.Common.Handlers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

<!-- Axlis NuGet packages -->
<ItemGroup>
<PackageReference Include="Axlis.Core" Version="0.1.0" />
<PackageReference Include="Axlis.ORM" Version="0.1.0" />
<PackageReference Include="Axlis.ORM.Abstractions" Version="0.1.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Ardalis.Result" Version="10.1.0" />
<PackageReference Include="Ardalis.Result.FluentValidation" Version="10.1.0" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Axlis.Attributes;
using Axlis.Core;
using Axlis.Core.FieldTypes;
using Axlis.ORM.Attributes;
using Axlis.ORM.Core;
using Axlis.ORM.Core.FieldTypes;

namespace CleanArchitecture.Application.Sitecore.Templates.Sample;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Axlis.Attributes;
using Axlis.Core;
using Axlis.Core.FieldTypes;
using Axlis.ORM.Attributes;
using Axlis.ORM.Core;
using Axlis.ORM.Core.FieldTypes;

namespace CleanArchitecture.Application.Sitecore.Templates.System;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Axlis.Attributes;
using Axlis.Core;
using Axlis.ORM.Attributes;
using Axlis.ORM.Core;

namespace CleanArchitecture.Application.Sitecore.Templates.System;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Axlis.Attributes;
using Axlis.Core;
using Axlis.ORM.Attributes;
using Axlis.ORM.Core;

namespace CleanArchitecture.Application.Sitecore.Templates.System;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Axlis.Attributes;
using Axlis.Core;
using Axlis.Core.FieldTypes;
using Axlis.ORM.Attributes;
using Axlis.ORM.Core;
using Axlis.ORM.Core.FieldTypes;

namespace CleanArchitecture.Application.Sitecore.Templates.System;

Expand Down
4 changes: 2 additions & 2 deletions src/CleanArchitecture.WebApi/CleanArchitecture.WebApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

<!-- Axlis NuGet packages -->
<ItemGroup>
<PackageReference Include="Axlis" Version="0.1.0" />
<PackageReference Include="Axlis.GraphQL" Version="0.1.0" />
<PackageReference Include="Axlis.ORM.GraphQL" Version="0.1.0" />
<PackageReference Include="Axlis.ORM" Version="0.1.0" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions src/CleanArchitecture.WebApi/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Axlis.Extensions;
using Axlis.ORM.Extensions;
using CleanArchitecture.Application;
using CleanArchitecture.Infrastructure;
using CleanArchitecture.Presentation;
Expand Down Expand Up @@ -31,11 +31,11 @@
// --- Axlis: Sitecore Headless GraphQL ORM ---
// Note: Endpoint and ApiKey must be set in user-secrets for development
builder.Services
.AddAxlis(o =>
.AddAxlisORM(o =>
{
builder.Configuration.GetSection("Axlis").Bind(o);
})
.AddAxlisGraphQL(o =>
.AddAxlisORMGraphQL(o =>
{
o.Endpoint = builder.Configuration["AxlisGraphQL:Endpoint"] ?? string.Empty;
o.ApiKey = builder.Configuration["AxlisGraphQL:ApiKey"];
Expand Down