---
title: "Slawomir Moriak (@Slamcode) | Hashnode"
description: "#developer #csharp #dotnet #fullstack #javascript #devops #cloud. Read the latest articles by Slawomir Moriak on Hashnode."
url: "https://hashnode.com/@Slamcode"
---

@Slamcode

# Slawomir Moriak

@Slamcode · Poland · Joined July 2023

#developer #csharp #dotnet #fullstack #javascript #devops #cloud

### [Resources to types with 'infer'](https://slamcode.hashnode.dev/typescript-magic-resources-as-types-with-infer?utm_source=hashnode&utm_medium=feed)

Learn how you can make any string-based resource into a TypeScript type, and make the compiler do the hard work of checking the data for you.

10 min read · [slamcode.hashnode.dev](https://slamcode.hashnode.dev/typescript-magic-resources-as-types-with-infer?utm_source=hashnode&utm_medium=feed)

[Jan 2, 2024](https://hashnode.com/posts/typescript-magic-resources-as-types-with-infer/659416e9afc44135fc07507b)

### [Set theory and 'keyof' spell](https://slamcode.hashnode.dev/set-theory-and-keyof-spell?utm_source=hashnode&utm_medium=feed)

Applying set operations on types teaches a lot about restructuring types to match our specific problems.

6 min read · [slamcode.hashnode.dev](https://slamcode.hashnode.dev/set-theory-and-keyof-spell?utm_source=hashnode&utm_medium=feed)

[Nov 30, 2023](https://hashnode.com/posts/set-theory-and-keyof-spell/6568ea03ff8c140b9a8851d6)

### [Dependency Injection in React is a losing game](https://slamcode.hashnode.dev/dependency-injection-in-react-is-a-losing-game?utm_source=hashnode&utm_medium=feed)

Given all the imperfect solutions for Dependency Injection in React, let's try creating something almost perfect.

13 min read · [slamcode.hashnode.dev](https://slamcode.hashnode.dev/dependency-injection-in-react-is-a-losing-game?utm_source=hashnode&utm_medium=feed)

[Nov 15, 2023](https://hashnode.com/posts/dependency-injection-in-react-is-a-losing-game/6554c0da5f05ebd565cefc82)

### [.Net DI gotchas, tips and tricks](https://slamcode.hashnode.dev/dotnet-di-gotchas-tips-and-tricks?utm_source=hashnode&utm_medium=feed)

Compiled some interesting facts about the way .Net dependency injection works behind the scenes. Some you probably already know, others you never bothered about. Knowing some may save you head-scratching in the future and others you may simply find u...

8 min read · [slamcode.hashnode.dev](https://slamcode.hashnode.dev/dotnet-di-gotchas-tips-and-tricks?utm_source=hashnode&utm_medium=feed)

[Oct 25, 2023](https://hashnode.com/posts/dotnet-di-gotchas-tips-and-tricks/6538ee311941030874948224)

### [Resolving keyed services in .Net DI with reflection](https://slamcode.hashnode.dev/resolving-keyed-services-in-net-di-with-reflection?utm_source=hashnode&utm_medium=feed)

The problem Extending standard .Net dependency injection mechanism with keyed services feature using the power of reflection. Since the introduction of standardized Dependency Injection mechanism in .Net, it lacked a few things, that users of other w...

12 min read · [slamcode.hashnode.dev](https://slamcode.hashnode.dev/resolving-keyed-services-in-net-di-with-reflection?utm_source=hashnode&utm_medium=feed)

[Oct 6, 2023](https://hashnode.com/posts/resolving-keyed-services-in-net-di-with-reflection/65202801814f149e9306614b)
