Skip to content

Commit e05180e

Browse files
committed
refactor(attr-attribute): move into models namespace
non-breaking change since all models already require the models namespace for Identifiable
1 parent 8572335 commit e05180e

File tree

6 files changed

+8
-1
lines changed

6 files changed

+8
-1
lines changed

src/JsonApiDotNetCore/Internal/ContextEntity.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using JsonApiDotNetCore.Models;
23
using System.Collections.Generic;
34

45
namespace JsonApiDotNetCore.Internal

src/JsonApiDotNetCore/Internal/ContextGraphBuilder.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Linq;
44
using System.Reflection;
55
using Microsoft.EntityFrameworkCore;
6+
using JsonApiDotNetCore.Models;
67

78
namespace JsonApiDotNetCore.Internal
89
{

src/JsonApiDotNetCore/Internal/Query/FilterQuery.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
using JsonApiDotNetCore.Models;
2+
13
namespace JsonApiDotNetCore.Internal.Query
24
{
35
public class FilterQuery

src/JsonApiDotNetCore/Internal/Query/QuerySet.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using JsonApiDotNetCore.Extensions;
55
using JsonApiDotNetCore.Services;
66
using Microsoft.AspNetCore.Http;
7+
using JsonApiDotNetCore.Models;
78

89
namespace JsonApiDotNetCore.Internal.Query
910
{

src/JsonApiDotNetCore/Internal/Query/SortQuery.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
using JsonApiDotNetCore.Models;
2+
13
namespace JsonApiDotNetCore.Internal.Query
24
{
35
public class SortQuery

src/JsonApiDotNetCore/Internal/AttrAttribute.cs renamed to src/JsonApiDotNetCore/Models/AttrAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Reflection;
33

4-
namespace JsonApiDotNetCore.Internal
4+
namespace JsonApiDotNetCore.Models
55
{
66
public class AttrAttribute : Attribute
77
{

0 commit comments

Comments
 (0)