Giter VIP home page Giter VIP logo

Comments (6)

seongahjo avatar seongahjo commented on September 25, 2024 2

@doljae
Ok, I think it is not a tough issue. Thank you.

I think that it is better to remove a field defaultArbitraryContainerInfo in GenerateOptions.
Maybe defaultArbitraryContainerSize too.
Using ArbitraryContainerInfoGenerator instead.

But should remain LabMonkey's defaultArbitraryContainerInfo option.

from fixture-monkey.

seongahjo avatar seongahjo commented on September 25, 2024 1

@doljae
In GenerateOptions, it returns defaultArbitraryContainerInfo when no proper ArbitraryContainerInfoGenerator exists.
I think returning default ArbitraryContainerInfoGenerator is more better instead of defaultArbitraryContainerInfo.

So what we have to do is removing defaultArbitraryContainerInfo option and making defaultArbitraryContainerInfoGenerator option

from fixture-monkey.

seongahjo avatar seongahjo commented on September 25, 2024

@doljae
It is a bug.

Javax-validation ,Jakarata-validation modules changes ArbitraryContainerInfoGenerator for handling @NotEmpty, @Size annotations.

You could resolves this problem temporary as below

.pushArbitraryContainerInfoGenerator(
                MatcherOperator(
                    { true },
                    ArbitraryContainerInfoGenerator { ArbitraryContainerInfo(minSize, maxSize, false) }
                )
            )

Thank you for reporting, we resolve this issue as soon as possible!

from fixture-monkey.

doljae avatar doljae commented on September 25, 2024

@seongahjo
Can I fix this bug?

It might be a little more complicated than this issue, but if it's not too difficult, I'll give it a try 🙂

If the size is too large or already in the works, you, the maintainer, please fix it 🙏

from fixture-monkey.

doljae avatar doljae commented on September 25, 2024

@seongahjo ,
Could you explain a bit more on what I need to do?
I've done some work on my own, but I think I'm not understanding it very well 😓

from fixture-monkey.

doljae avatar doljae commented on September 25, 2024

@seongahjo ,
I created a PR for this issue.
I'm not sure I work well, so if you think there's not enough time to fix it myself, then please take this issue.

from fixture-monkey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.