https://serverless-stack.com/ logo
Join SlackCommunities
Powered by
# random
  • t

    thdxr

    10/30/2021, 4:10 PM
    Is anyone in here super experienced with gql?
    a
    o
    d
    • 4
    • 45
  • s

    Simon Reilly

    11/02/2021, 9:05 AM
    Do people create aws-cdk libs/modules and share them between projects? If so, how?
    t
    a
    b
    • 4
    • 23
  • a

    Ashishkumar Pandey

    11/04/2021, 9:19 AM
    Wishing everyone a Happy Diwali (The festival of lights in India). May the light bring you joy, happiness and peace! 😁🙏
    g
    r
    • 3
    • 5
  • ö

    Ömer Toraman

    11/04/2021, 2:29 PM
    What package do you use for creating error responses from Lambda, if any?
    r
    a
    g
    • 4
    • 9
  • a

    arda

    11/07/2021, 4:13 PM
    Has anyone tried Terraform before? https://medium.com/mlearning-ai/terraform-and-azure-devops-to-provision-aws-resource-ee03c032c6d6
    t
    g
    +3
    • 6
    • 10
  • t

    thdxr

    11/08/2021, 7:03 PM
    https://www.prisma.io/serverless
    j
    • 2
    • 4
  • t

    thdxr

    11/11/2021, 5:36 AM
    new rebuilding perf improvements vs old
    o
    k
    +3
    • 6
    • 17
  • t

    thdxr

    11/11/2021, 8:53 PM
    I've been struggling to come up with a good pattern for DDD and supporting a public GraphQL API. Wanted to ask you guys what you think: For a public GQL api, you want to support a large set of queries because you don't know what exactly they might need. How do you structure your code to allow really flexible querying into your business logic? For example if you take the simple Blog example you might have Author, Post, Comments, Commenter I might have a domain called
    Post
    with functions like
    Post.fromAuthor(author)
    But it's possible the query is asking for posts for a specific author, the comments, and the first name of each commenter. That turns into
    Post.fromAuthorWithCommentsWithCommenterFirstName()
    Of course there's a lot of ways to simplify this, for example using a builder pattern, but how do people think about this general situation? I don't want to write build a sql statement in my API layer because I want to create seperation so refactoring database details don't require API changes...but makes me wonder if DDD principles even map well to serverless
    d
    o
    • 3
    • 42
  • ö

    Ömer Toraman

    11/15/2021, 10:36 PM
    Been using this style for commenting since I saw it in SST and loving it so much lol
    Copy code
    //////////////////////////////
    //
    //////////////////////////////
    d
    f
    j
    • 4
    • 7
  • d

    Danny

    11/16/2021, 5:00 AM
    Anyone from EU, and especially the Netherlands 🥳 We just released 2.0 🥳 https://flowyour.money/
    j
    m
    • 3
    • 14
  • o

    Omi Chowdhury

    11/16/2021, 5:47 PM
    Anyone know the GDP impact to coding productivity when Spotify goes down?
    j
    g
    +2
    • 5
    • 14
  • a

    Adrian Schweizer

    11/16/2021, 9:22 PM
    sooo, how do you guys deal with m to n relations in dynamodb? Make a separate mapping table? Or is there some trick I'm not thinking of?
    g
    j
    +2
    • 5
    • 42
  • m

    manitej

    11/17/2021, 6:41 AM
    As @Jay asked, Added AWS emoji pack here check it out! aws r53awsaws ddbaws s3sst
    f
    j
    a
    • 4
    • 4
  • j

    JP (junaway)

    11/17/2021, 4:29 PM
    I spotted more than one SST user in the audience/chat.
    j
    m
    • 3
    • 8
  • d

    Daniel

    11/17/2021, 6:43 PM
    Just a random question about graphql. Does anyone have a best practice or a method/library they prefer to use for validations beyond the types setup in the schema? A quick google search and I found https://github.com/profusion/apollo-validation-directives which looks interesting
    t
    n
    • 3
    • 9
  • s

    Sam Hulick

    11/18/2021, 2:44 AM
    containers are stupid 😅 can’t wait to launch our v2
    a
    • 2
    • 20
  • s

    Sam

    11/18/2021, 9:49 AM
    In DynamoDb, how efficient will it be to store all possible substrings of a title as different items in a separate table as a partition key, with just the id mapped to later perform substring search on? 😅
    f
    j
    g
    • 4
    • 4
  • m

    manitej

    11/18/2021, 2:44 PM
    Touched angular for the first time in my life, not gonna do this again...
    r
    t
    a
    • 4
    • 6
  • j

    JP (junaway)

    11/18/2021, 3:09 PM
    Yan Cui voting against single-table design, @thdxr Ready... Set... Fight ! (Live at Serverless Summit 2021)
    s
    • 2
    • 5
  • j

    JP (junaway)

    11/18/2021, 3:21 PM
    Yan Cui voting in favor of nested stacks for large AppSync projects @Frank
    t
    f
    • 3
    • 6
  • c

    Clayton

    11/18/2021, 10:33 PM
    Anyone know of a good tool or method to double-check for orphaned AWS services/resources without having to manually check each one?
    m
    f
    c
    • 4
    • 10
  • ö

    Ömer Toraman

    11/19/2021, 7:04 AM
    Very nice validation library for TypeSciprt users => https://github.com/colinhacks/zod
    s
    • 2
    • 5
  • e

    Erik Robertson

    11/19/2021, 8:39 AM
    I am curious as to what is the standard nowadays for building APIs in terms of formatting the POST input parameters : json vs x-www-form-urlencoded ? Any pros and cons ? Does AWS lambda + SST influence on that choice ? I'm hesitant going one way vs the other...
    r
    s
    ö
    • 4
    • 6
  • s

    Sam Hulick

    11/20/2021, 3:28 AM
    Hey all,. I need to hire someone who's very well versed in compiling binary executables on Linux. I have something I really need to build and am running into issues
    t
    • 2
    • 3
  • ö

    Ömer Toraman

    11/22/2021, 9:07 AM
    Hello people. I’m using axios as the http client. The 3rd party API uses SOAP, and the response is in XML. Is there any adapter you might recommend for beautifying that ugly XML resposne?
    j
    j
    • 3
    • 6
  • o

    Omi Chowdhury

    11/23/2021, 12:12 AM
    Poll - we’re starting to design a dashboard for our API. Should the design default be: • ⚪️ Light mode • ⚫️ Dark mode React to vote
    ö
    • 2
    • 2
  • t

    thdxr

    11/23/2021, 2:31 AM
    For those using AWS SSO - what is your setup with SST? If you're not using AWS SSO - what are you waiting for!
    s
    c
    +6
    • 9
    • 34
  • m

    manitej

    11/23/2021, 1:51 PM
    Not able to see horizontal scrollbars in code snippets.
    j
    • 2
    • 3
  • r

    Ross Coundon

    11/23/2021, 1:56 PM
    Some of you may remember from last week I was hunting down a peculiar issue with timeouts and DynamoDB. I raised a case with AWS on the subject and this is what they said
    Copy code
    When you use Lambda outside VPC, it means a request to DynamoDB will go over the internet which might traverse over multiple ISPs. This leaves room where requests may get lost along the path, this is especially true if the issue is intermittent and error shows timeout exceptions.
    
    It is actually better from a DynamoDB perspective to have your Lambda inside a VPC, this is because the network path becomes predictable, thus more stable. When you have your Lambda inside the VPC, you can make use of DynamoDB's VPC endpoint to access DynamoDB (Lambda -> Lambda ENI - > DDB VPCendpoint -> DDB service). Furthermore, this allows better monitoring, because you will be able to use VPC flow logs to see network traffic and determine if messages are being dropped. Since DNS uses UDP for DNS queries, the packets can get lost along the path (Lambda probably has a retry mechanism for retry DNS queries).
    One of the main reasons we moved to DynamoDB was to remove the need for the complexities of VPCs!
    t
    c
    +3
    • 6
    • 61
  • t

    thdxr

    11/24/2021, 10:21 PM
    https://twitter.com/jeffbarr/status/1463545047995977729?t=ohzfznlSdOThUIGvO5zJtw&s=19
    d
    • 2
    • 1
12345...10Latest