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
Expand Up @@ -15,7 +15,7 @@

using System;
using FluentAssertions;
using Neo4j.Driver.Preview.Mapping;
using Neo4j.Driver.Mapping;
using Neo4j.Driver.Tests.TestUtil;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
using System.Collections.Generic;
using FluentAssertions;
using Neo4j.Driver.Internal.Types;
using Neo4j.Driver.Preview.Mapping;
using Neo4j.Driver.Mapping;
using Neo4j.Driver.Tests.TestUtil;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
using System.Collections.Generic;
using FluentAssertions;
using Neo4j.Driver.Internal.Types;
using Neo4j.Driver.Preview.Mapping;
using Neo4j.Driver.Mapping;
using Neo4j.Driver.Tests.TestUtil;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
using System.Linq;
using FluentAssertions;
using Neo4j.Driver.Internal.Types;
using Neo4j.Driver.Preview.Mapping;
using Neo4j.Driver.Mapping;
using Neo4j.Driver.Tests.TestUtil;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
using Moq;
using Moq.AutoMock;
using Neo4j.Driver.Internal.Types;
using Neo4j.Driver.Preview.Mapping;
using Neo4j.Driver.Mapping;
using Xunit;

namespace Neo4j.Driver.Tests.Mapping;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
using FluentAssertions;
using Moq;
using Moq.AutoMock;
using Neo4j.Driver.Preview.Mapping;
using Neo4j.Driver.Mapping;
using Neo4j.Driver.Tests.TestUtil;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

using System;
using FluentAssertions;
using Neo4j.Driver.Preview.Mapping;
using Neo4j.Driver.Mapping;
using Xunit;

namespace Neo4j.Driver.Tests.Mapping;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// limitations under the License.

using FluentAssertions;
using Neo4j.Driver.Preview.Mapping;
using Neo4j.Driver.Mapping;
using Neo4j.Driver.Tests.TestUtil;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
using System.Collections.Generic;
using FluentAssertions;
using Neo4j.Driver.Internal.Types;
using Neo4j.Driver.Preview.Mapping;
using Neo4j.Driver.Mapping;
using Neo4j.Driver.Tests.TestUtil;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

using System.Linq;
using FluentAssertions;
using Neo4j.Driver.Preview.Mapping;
using Neo4j.Driver.Mapping;
using Neo4j.Driver.Tests.TestUtil;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
using System.Threading.Tasks;
using FluentAssertions;
using Neo4j.Driver.Internal.Types;
using Neo4j.Driver.Preview.Mapping;
using Neo4j.Driver.Mapping;
using Neo4j.Driver.Tests.TestUtil;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

using System.Collections.Generic;
using FluentAssertions;
using Neo4j.Driver.Preview.Mapping;
using Neo4j.Driver.Mapping;
using Neo4j.Driver.Tests.TestUtil;
using Xunit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

/// <summary>
/// Contains extension methods for <see cref="IAsyncEnumerable{T}"/>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
using System.Linq;
using System.Reflection;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

internal class BuiltMapper<T> : IRecordMapper<T>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@

using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

internal static class DefaultMapper
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
using System.Collections.Generic;
using System.Linq;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

internal sealed class DictAsRecord : IRecord
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

/// <summary>
/// Contains extensions for entities such as nodes and relationships.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
using System.Linq;
using System.Reflection;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

internal record EntityMappingInfo(
string Path,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
using System.Threading.Tasks;
using Neo4j.Driver.Internal;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

/// <summary>
/// Contains extensions for using the global mapping system with the driver's <see cref="ExecutableQuery{TIn,TOut}"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
using System;
using System.Linq.Expressions;

namespace Neo4j.Driver.Preview.Mapping;
Copy link
Contributor

@thelonelyvulpes thelonelyvulpes May 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neo4j.Driver.Mapping.IMappingBuilder.Map is missing documentation for optional parameter

namespace Neo4j.Driver.Mapping;

/// <summary>
/// Defines a builder for mapping objects from <see cref="IRecord"/>s.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

/// <summary>
/// Interface to be implemented by a class that provides mappers to the mapping system.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

/// <summary>
/// Interface to be implemented by a class that maps records to objects of type <typeparamref name="T"/>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
using System.Collections.Generic;
using System.Linq;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

internal interface IMappableValueProvider
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
using System.Collections;
using System.Collections.Generic;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

internal interface IMappedListCreator
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
using System.Linq.Expressions;
using System.Reflection;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

/// <summary>
/// This class wraps the <see cref="BuiltMapper{T}"/> and exposes a fluent API for building the mapper.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

using System;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

/// <summary>
/// Indicates that the constructor should be used when mapping a record to an object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
using System.Collections.Generic;
using System.Reflection;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

internal static class MappingExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

using System;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

public class MappingFailedException : Neo4jException
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are missing docs on this public class

{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

using System;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

/// <summary>
/// Instructs the default object mapper not to attempt to map any value to this property.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

using System;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

/// <summary>
/// If a property or is decorated with this attribute, it will be considered optional. The
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

using System;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

/// <summary>
/// Represents a mapping from an entity itself rather than any of its properties.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

internal delegate bool MappingValueDelegate(IRecord record, out object value);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

/// <summary>
/// Contains extensions for accessing values simply from records and entities.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
using System.Collections.Generic;
using System.Reflection;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

/// <summary>
/// Contains methods for registering a mapping with the global mapping configuration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

using System.Collections.Generic;

namespace Neo4j.Driver.Preview.Mapping;
namespace Neo4j.Driver.Mapping;

internal interface IRecordPathFinder
{
Expand Down