Skip to content

Instantly share code, notes, and snippets.

@lynsei
Last active January 30, 2021 17:17
Show Gist options
  • Save lynsei/d524f112b4099fe988fcb076b3dd5f4d to your computer and use it in GitHub Desktop.
Save lynsei/d524f112b4099fe988fcb076b3dd5f4d to your computer and use it in GitHub Desktop.
Example: {}.auth.basic
query FSDL {
expect_behavior_connection(where: {business_requirement: {_eq: "auth.basic"}}) {
edges {
node {
id
behavior_requirement {
shortname
title
}
for_reason
}
}
}
}
@lynsei
Copy link
Author

lynsei commented Jan 23, 2021

I'm liking the syntax a lot more like this:

const stack = openful([  
  { auth => provider(auth0) } .auth.basic,  ... },
  ,
  ,
  ,
  ,
  ,
  ,
])

@lynsei
Copy link
Author

lynsei commented Jan 23, 2021

That's prototype assignment syntax, btw.,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment