Skip to content

Commit c1d956f

Browse files
committed
Resolves #429 Web API: add filter attribute to support IEEE754Compatible header to serialize 64bit number values as strings
1 parent 8c9d1b4 commit c1d956f

File tree

57 files changed

+101
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+101
-2
lines changed

src/Plugins/SmartStore.WebApi/Controllers/OData/AddressesController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
namespace SmartStore.WebApi.Controllers.OData
1818
{
19+
[IEEE754Compatible]
1920
public class AddressesController : WebApiEntityController<Address, IAddressService>
2021
{
2122
private readonly Lazy<IRepository<Order>> _orderRepository;

src/Plugins/SmartStore.WebApi/Controllers/OData/BlogCommentsController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
namespace SmartStore.WebApi.Controllers.OData
1717
{
18+
[IEEE754Compatible]
1819
public class BlogCommentsController : WebApiEntityController<BlogComment, ICustomerContentService>
1920
{
2021
private readonly IRepository<CustomerContent> _contentRepository;

src/Plugins/SmartStore.WebApi/Controllers/OData/BlogPostsController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
namespace SmartStore.WebApi.Controllers.OData
1515
{
16+
[IEEE754Compatible]
1617
public class BlogPostsController : WebApiEntityController<BlogPost, IBlogService>
1718
{
1819
private readonly Lazy<IUrlRecordService> _urlRecordService;

src/Plugins/SmartStore.WebApi/Controllers/OData/CategoriesController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
namespace SmartStore.WebApi.Controllers.OData
1515
{
16+
[IEEE754Compatible]
1617
public class CategoriesController : WebApiEntityController<Category, ICategoryService>
1718
{
1819
private readonly Lazy<IUrlRecordService> _urlRecordService;

src/Plugins/SmartStore.WebApi/Controllers/OData/CountriesController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
namespace SmartStore.WebApi.Controllers.OData
1111
{
12+
[IEEE754Compatible]
1213
public class CountriesController : WebApiEntityController<Country, ICountryService>
1314
{
1415
[WebApiQueryable]

src/Plugins/SmartStore.WebApi/Controllers/OData/CurrenciesController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
namespace SmartStore.WebApi.Controllers.OData
1111
{
12+
[IEEE754Compatible]
1213
public class CurrenciesController : WebApiEntityController<Currency, ICurrencyService>
1314
{
1415
[WebApiQueryable]

src/Plugins/SmartStore.WebApi/Controllers/OData/CustomerRoleMappingsController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
namespace SmartStore.WebApi.Controllers.OData
1111
{
12+
[IEEE754Compatible]
1213
public class CustomerRoleMappingsController : WebApiEntityController<CustomerRoleMapping, ICustomerService>
1314
{
1415
[WebApiQueryable]

src/Plugins/SmartStore.WebApi/Controllers/OData/CustomerRolesController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
namespace SmartStore.WebApi.Controllers.OData
1212
{
13+
[IEEE754Compatible]
1314
public class CustomerRolesController : WebApiEntityController<CustomerRole, ICustomerService>
1415
{
1516
[WebApiQueryable]

src/Plugins/SmartStore.WebApi/Controllers/OData/CustomersController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
namespace SmartStore.WebApi.Controllers.OData
1616
{
17+
[IEEE754Compatible]
1718
public class CustomersController : WebApiEntityController<Customer, ICustomerService>
1819
{
1920
private readonly Lazy<IAddressService> _addressService;

src/Plugins/SmartStore.WebApi/Controllers/OData/DeliveryTimesController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
namespace SmartStore.WebApi.Controllers.OData
1414
{
15+
[IEEE754Compatible]
1516
public class DeliveryTimesController : WebApiEntityController<DeliveryTime, IDeliveryTimeService>
1617
{
1718
[WebApiQueryable]

0 commit comments

Comments
 (0)