Skip to content

Instantly share code, notes, and snippets.

public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World.");

Option 1

There is just one generic mutation that can handle all message creation. I am unsure how scalable this is. Main benefit I can think of is that we wouldn't need to adjust the graphql layer every time we added a new medium to send messages/notifications with. The more I think about this thought the more unreasonable it feels.

sendMessage(input: SendMessageInput!): Boolean

enum MessageType {
jicee13 /
Last active Nov 29, 2018
After creating an Angular Universal application, here is how you can also make it suitable for prerendering.

Angular Universal Prerendering

Note: This tutorial is for prerendering an application after following these instructions.

These steps can also be easily applied to any general Angular Univseral app as well.

  1. Assuming we want lazy loading...

npm i @nguniversal/module-map-ngfactory-loader --save

Then update your app.module.ts


Keybase proof

I hereby claim:

  • I am jicee13 on github.
  • I am jicee13 ( on keybase.
  • I have a public key ASCoiz_dPCxbdHbQfbi8TF2pszIvXK7u3HPFN7MFi_rRWAo

To claim this, I am signing this object: