Feb 04, 2022
Type Predicate In Typescript
Type predicate in Typescript allows us to narrow down the type of a variable using a predicate. Today we’ll look at how to use type predicates, and show examples where they are useful.
Feb 04, 2022
Type predicate in Typescript allows us to narrow down the type of a variable using a predicate. Today we’ll look at how to use type predicates, and show examples where they are useful.
Jan 28, 2022
Following up our previous post on generic types, we created a ServiceResponse<T> type which had a statusCode: string field to differentiate between the responses. In Typescript, a common pattern to differentiate between success and error is to create a union. In today’s post, we will see how we can leverage typegraphql to translate Typescript unions into graphql schema unions.
Jan 21, 2022
Last week, we looked at how typegraphql was supporting inheritance, translating it into a proper graphql schema. Today we will look at another common feature of Typescript, generic types and how they can be translated properly into a graphql schema.
Jan 14, 2022
When working with typegraphql, we expect our models to be translated properly into a graphql schema. Inheritance is one of the feature supported by classes in Typescript. In this post, we will see how we can use inheritance in both objects and resolvers with typegraphql.
Jan 07, 2022
With the web transitioning to a decentralized internet, new systems and applications are being built. In order to access them, we need tools that interact with the next version of web, web 3.0. In today’s post, we will take a look at Metamask, a gateway to the decentrailized internet. We will look at what functionalities it provides and how to use it.
Dec 31, 2021
When doing web development, we often use JSON.stringify to print to the screen the value of a variable. But when the variable contains multiple attributes, the print could be quite dense. To cater for that JSON.stringify has extra parameters that can be specified. In today’s post, we will look at each of them with example.
Dec 24, 2021
In the last post, we looked at scalar operators in Kusto queries. To complete this mini series on Kusto queries, today we will be looking at useful query statements with examples.
Dec 17, 2021
Last week we looked at tabular operators in Kusto queries. In today post we will look at the most common used scalar operators and functions with some examples.
Dec 10, 2021
Kusto query is the query language used to query App Insights logs with Azure DevOps. In today post we will look at the most common used operators with some examples.
Dec 03, 2021
Winston logger is one of the most popular logger for node application. In today’s post we will look at how we can configure and use Winston.
Nov 26, 2021
TypeDI is a dependency injection library for Typescript. It makes use of decorators to ease the registration and injection of services. Today we’ll look at how we can use TypeDI in multiple scenarios with code samples.
Nov 19, 2021
In today’s post we will look at how we can enable the debugger with a Typescript Node application which uses nodemon and ts-node with the goal of being able to breakpoint in VSCode our Typescript Node application.
Nov 12, 2021
Rush is build orchestrator facilitating management of Javascript and Typescript monorepos. In today’s post we will look at the common functionalities used in daily development making developers life easier.
Nov 05, 2021
Last week we looked at how to setup an Apollo server to serve graphql requests. We went through the setup by defining a TemplateStringArray for the schema and defining functions in an object map for the resolvers. In this week post, we will look at how to simplify this two areas by leveraging Typescript features using typegraphql package.
Oct 29, 2021
Apollo server is a GraphQL server quick and easy to setup. In today’s post, we will look at how we can kick start a new Apollo server with a simple graph in Typescript.
chrome
cypress
dbeaver
ethereum
figma
flask
git
graphql
jekyll
jenkins
js
maths
metamask
mobx
mysql
oas
postgres
postman
puml
python
solidity
splunk
sqlalchemy
sqlite
typescript
unicode
vscode
zsh