• Deleting old branches using Azure Functions

    Doing a `git branch` lists a milion of branches on a remote? You have some policies in a team to delete branch after merging, but let's be serious, someone remember about that? You don't have to worry in this article you will find how to write automatic Deleter (as a time trigger Azure Function) of old stale branches from AzureDevops.

    September 23, 2019 - 11 minute read -
    F# Patterns Microservices Clean Code
  • GraphQL error propagation

    In this post we gonna take a look at available options on how to propagate errors in GraphQL

    August 19, 2018 - 7 minute read -
    F# GraphQL Clean Code Patterns
  • Testing GraphQL queries with FsCheck library - Union GraphTypes

    GraphQL essentially allows users to define queries from a front-end to gather concrete data. So as it looks it is completely different than a standard REST endpoint. GraphQL differs queries which only gather data from those which also mutates them. In this article, I want to concentrate on queries which only gather some data and how to test them via FsCheck and F#. This articles is a continuation of previous post: https://www.mnie.me/2018-05-21-graphQLTestingPart2/

    May 29, 2018 - 6 minute read -
    F# GraphQL Clean Code Tests TDD Automated Tests Patterns
  • Testing GraphQL queries with FsCheck library - Shrinking input

    GraphQL essentially allows users to define queries from a front-end to gather concrete data. So as it looks it is completely different than a standard REST endpoint. GraphQL differs queries which only gather data from those which also mutates them. In this article, I want to concentrate on queries which only gather some data and how to test them via FsCheck and F#. This articles is a continuation of previous post https://www.mnie.me/2018-05-07-graphQLTesting/

    May 21, 2018 - 8 minute read -
    F# GraphQL Clean Code Tests TDD Automated Tests Patterns
  • Testing GraphQL queries with FsCheck library

    GraphQL essentially allows users to define queries from a front-end to gather concrete data. So as it looks it is completely different than a standard REST endpoint. GraphQL differs queries which only gather data from those which also mutates them. In this article, I want to concentrate on queries which only gather some data and how to test them via FsCheck and F#.

    May 7, 2018 - 11 minute read -
    F# GraphQL Clean Code Tests TDD Automated Tests Patterns
  • Static typescript client for controller actions, is it possible?

    Thanks to a Typescript we have some opportunity to use some `strongly-typed` language on a front-end side. But still we have to somehow communicate with a server side. Model the response. Is it possible to do it automatically for use, so we could only add some npm package which would have all of the models there along with clients? Yes it is!

    March 24, 2018 - 11 minute read -
    C# TypeScript JavaScript Microservices Patterns Clean Code
  • Resharper TO-DO

    How often do you add a comment TODO to your code? There is an option to make it more descriptive. In this article you will see how to add some links/more info to TODO comments.

    January 23, 2018 - 2 minute read -
    JetBrains Rider VisualStudio Patterns Clean Code
  • Decrease technical debt with help of CodeMetrics

    It is important that code produced by us could be easily tested and managed. However, it must be borne in mind that the projects we do at work are not individual tasks, and dozens of people are working on them. However, it is well known that everyone can have a bad day that will cause a bad code to be written that will lead to headaches when we look at it after some time. In this article we gonna take a deep view of available options in .net ecosystem related to CodeMetrics.

    July 30, 2017 - 5 minute read -
    F# Git Clean Code