by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Mike Solomon
    @mikesol
    One common theme that has been popping up is graphql support. Hm... I wonder how tough this would be? Of course, there are other tools that do this as well, but if it is not too bad to integrate, I think it could be useful!
    Kimmo Sääskilahti
    @ksaaskil
    That's a good idea and I think there are a lot less solutions available for GraphQL as it's not as mature. I think our Python code could be GraphQL first, or at least be designed from that perspective.
    Carolyn
    @carolstran
    @k4m4 unmock/jaymock and unmock/micro-jaymock look awesome! :clap:
    Nikolaos Kamarinakis
    @k4m4
    Thank you, @carolstran!
    Kimmo Sääskilahti
    @ksaaskil
    Snyk bot found a vulnerability in unmock-server > concurrently > tree-kill and patched that in this PR unmock/unmock-js#350
    The vulnerable library is however not used anymore in the project so I deleted that in unmock/unmock-js#351.
    Kimmo Sääskilahti
    @ksaaskil
    I'm working on refactoring unmock a bit to separate the mock generation logic from the interceptor logic. This will make it easier to have "mocks on demand" without initializing the global interceptor capturing all HTTP traffic. unmock/unmock-js#355
    Kimmo Sääskilahti
    @ksaaskil
    Anyone interested in learning a bit of lerna and seeing how to create a new package under unmock-js? :) I created an issue to extract common types into a new package and included instructions how that should work. unmock/unmock-js#357
    Kimmo Sääskilahti
    @ksaaskil
    ^Thanks @k4m4 for the PR! unmock/unmock-js#358
    Kimmo Sääskilahti
    @ksaaskil
    Any React Native experts around? 🤨 We're building towards unmock running in browser and React Native so you could use unmock for faking APIs also when developing front-end! One problem is that unmock depends, through json-schema-faker, on json-schema-ref-parser, which in turn depends on Node.js modules http and https (https://github.com/APIDevTools/json-schema-ref-parser/blob/master/lib/resolvers/http.js#L3). unmock can run fine without these, but the Metro bundler used for bundling React Native crashes because the modules cannot be found. Does anyone have insights how to best solve the issue? I've written more about it in this PR unmock/unmock-react-native-example#3
    Nikolaos Kamarinakis
    @k4m4
    @ksaaskil :))
    Carolyn
    @carolstran
    Just reviewed, great PR @k4m4 :tada: I added a little note regarding documentation, but I think overall we could improve on documenting the packages better on unmock.io - I'll look into it and maybe open some issues on the docs repo 🕵️‍♀️
    Nikolaos Kamarinakis
    @k4m4
    Happy New Year!
    Carolyn
    @carolstran
    @k4m4 I'm starting to move repos from the Unmock organization to Meeshkan (as per our Q1 goals of unifying the brands). Let me know how/when you'd like me to tackle the ones you've created - or feel free to do them yourself. No rush on any decisions, it's not urgent for the time being.
    Nikolaos Kamarinakis
    @k4m4
    @carolstran will do, thanks for letting me know!
    Carolyn
    @carolstran
    Excellent, can you ping me when it's done @k4m4? No rush - I'm just tracking all of the migration-related tasks.
    Nikolaos Kamarinakis
    @k4m4
    Of course, I'll let you know :)
    Nikolaos Kamarinakis
    @k4m4
    @carolstran I have transferred freddo, jaymock, micro-jaymock, and jaymock-cli to the Meeshkan org (on GitHub & NPM). Let me know if you need help transferring any other repos. :)
    Carolyn
    @carolstran
    @k4m4 What did you have to do to transfer the repos on NPM? I need to do that for a few other repos but I'm clueless about the interworkings of NPM lol
    Also thanks!!
    Nikolaos Kamarinakis
    @k4m4
    The process I followed was the following:
    • rm -rf node_modules && rm -rf package-lock.json
    • change the name of the repo from PKG_NAME to @meeshkanml/PKG_NAME in package.json, readme.md, etc.
    • npm i
    • npm publish
    • npm deprecate PKG_NAME "Moved to @meeshkanml/PKG_NAME"
    Of course, let me know if you need any help! :)
    Carolyn
    @carolstran
    Hey @k4m4, one more question for you. When you transferred the repos, did you do anything to update the CircleCI? Or did it do that automatically? I'm getting mixed reviews on the docs :laughing:
    Nikolaos Kamarinakis
    @k4m4
    Hey @carolstran! I would check whether the codecov token has changed (and, if yes, alter the environment variable on CircleCI). I don't recall making any changes myself, though.
    What do you mean by "mixed reviews"?
    mifwarior
    @mifwarior
    Is unmock suitable for testing a client for compatibility with OpenApi?
    Mike Solomon
    @mikesol
    @mifwarior yup! could you describe a bit more your use case?