Is it expected when generating with conventions that a FullName property will not necessarily match what gets generated in FirstName & LastName properties on the same object?
For example, ending up with person object generated with FirstName "Alice", LastName "Smith", FullName "Jane Doe".
Looking at the FullNameByNameGenerator, it appears that would be expected since it generates using:
context.OverrideContext.Faker.Name.FullName();
instead of:
context.OverrideContext.Faker.Person.FullName
I can disable FirstName, LastName, FullName and add my own overrides that generate from Faker.Person instead of Faker.Name to workaround that. But I want to make sure I'm not missing something simpler.
Is it expected when generating with conventions that a FullName property will not necessarily match what gets generated in FirstName & LastName properties on the same object? For example, ending up with person object generated with FirstName "Alice", LastName "Smith", FullName "Jane Doe".
Looking at the FullNameByNameGenerator, it appears that would be expected since it generates using:
context.OverrideContext.Faker.Name.FullName();
instead of:context.OverrideContext.Faker.Person.FullName
I can disable FirstName, LastName, FullName and add my own overrides that generate from Faker.Person instead of Faker.Name to workaround that. But I want to make sure I'm not missing something simpler.