Skip to content

issues Search Results · repo:willryan/factory.ts language:TypeScript

Filter by

37 results
 (61 ms)

37 results

inwillryan/factory.ts (press backspace or delete to remove)

const def = await this.getEntityDefinition(identifier, true); const factory = await this.getFactoryDefinition(identifier, def.definition); const modifiedKeys = this.getModifiedKeys T (def.definition, { ...
  • mrgk21
  • 1
  • Opened 
    on Aug 12, 2024
  • #87

FactoryBot for ruby has the notion of transient attributes that are used by the factory but not added to the model. How would one achieve that with factory.ts? I have some factories that have a complex-ish ...
  • mikesnare
  • 1
  • Opened 
    on Mar 22, 2024
  • #85

Hello! First off, thanks for making and maintaining this project. We ve enjoyed using these factories for improving our test data. This isn t a bug per-say, but I had a question about something I ve ...
  • agroebe
  • 1
  • Opened 
    on Nov 15, 2023
  • #84

BuildList only randomizes the first level key value. Example: const factory = Factory.Sync.makeFactory({ randomItem: Factory.each(()= radomValueGenerator()) // using faker-js someObject: { ...
  • MRwt48
  • 1
  • Opened 
    on May 1, 2023
  • #78

Hi @willryan, thank you for your awesome work. I have been using factory.ts since last year to generate fake data with Faker, with no issues. However, as I am now using create-react-app v5, I came across ...
  • jelhouss
  • 1
  • Opened 
    on Mar 2, 2023
  • #74

Currently the builder interface looks like this: export declare type Builder T, K extends keyof T = keyof T = { [P in K]: T[P] | Generator T[P] | Derived T, T[P] ; }; Which seems like only could ...
  • ranmocy
  • 1
  • Opened 
    on Dec 27, 2022
  • #72

I have been working with factory.ts for quite some time and I am a big. But I recently had the issue where I needed to get multiple instances of a Pipeline. I use result of a pipeline as a representations ...
  • DaGutsche
  • 1
  • Opened 
    on Jul 21, 2022
  • #69

Hello, I m trying to combine factories for an interface that has an optional field and I m running into a typescript error. Using the following example: const softDelete = Sync.makeFactory({ isDeleted: ...
  • jagers
  • 3
  • Opened 
    on Mar 12, 2022
  • #63

Seems this repo is not maintained, we created fork https://github.com/Byndyusoft/node-dto-factory
  • KillWolfVlad
  • 2
  • Opened 
    on Feb 5, 2022
  • #61

In our project we have parent dto and child dtos which can omit some properties and add some new properties. Would be great to reuse parent dto factory in child dto factory. I think we can allow to pass ...
  • KillWolfVlad
  • 1
  • Opened 
    on Sep 8, 2021
  • #58
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub