bchavez / Bogus

:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
Other
8.66k stars 495 forks source link

Vehicles manufacturer is not matching to model correctly #409

Closed Mateusz19021996 closed 2 years ago

Mateusz19021996 commented 2 years ago

When we create car with model and manufacturer properties, we get result for example :

Chevrolet Jetta Cadillac PT Cruiser Porsche Charger Fiat A8 Cadillac ATS

There is no correct matching, any chance to correct it?

bchavez commented 2 years ago

Hello,

there is no chance to correct it -- that data comes from upstream faker.js. The vehicle.manufacture and vehicle.model are disjoint arrays in our data source (and also in faker.js upstream):

https://github.com/bchavez/Bogus/blob/59985ee11fb2a34b89d940d5da8b34617f6f9f6f/Source/Bogus/data/en.locale.json#L20620-L20714

You have a few choices: