Skip to content

Instantly share code, notes, and snippets.

View dh94's full-sized avatar

daniel jakobsen hallel dh94

View GitHub Profile
Pros Cons
A robust option that will handle complex scenarios might require a complex devops infra
Pros Cons
Easy to implement Requires to be inside a monorepo
Shared workspace for both front and backend is problmatic
@dh94
dh94 / merged-schema.ts
Created May 19, 2018 08:29
graphql-tools merged Subscription schema
import {
makeExecutableSchema,
mergeSchemas,
} from 'graphql-tools';
import { PubSub } from 'graphql-subscriptions';
const simpleSchema = makeExecutableSchema({
typeDefs: `
type Query {
_blank: String
@dh94
dh94 / mdStyleColor.js
Last active April 12, 2017 09:11 — forked from ThadeuLuz/mdStyleColor.js
Trying to add more flexibility to elements css in angular-material
(function () {
"use strict";
var _theme;
var _palettes;
angular
.module('mdColors',['mdColors'])
.config(['$mdThemingProvider', function($mdThemingProvider){