Skip to content
Snippets Groups Projects
Forked from DevOps (Lecture FB VI) / webservice
Source project has a limited visibility.
  • gjahn's avatar
    e231839d
    Fix flaky routes state test · e231839d
    gjahn authored
    Using the Param "name" to create an Item and persist turns out to be
    affected bi Fiber's behaviour of "zero allocation", which means values
    may be re-used across requests/contexts.
    
    This caused wrong or chunked up Item names in the ephemeral state, which
    only surfaced during unit testing.
    
    For more details see https://docs.gofiber.io/#zero-allocation
    e231839d
    History
    Fix flaky routes state test
    gjahn authored
    Using the Param "name" to create an Item and persist turns out to be
    affected bi Fiber's behaviour of "zero allocation", which means values
    may be re-used across requests/contexts.
    
    This caused wrong or chunked up Item names in the ephemeral state, which
    only surfaced during unit testing.
    
    For more details see https://docs.gofiber.io/#zero-allocation