me
- validation lambda trigger docs nonexistent https://docs.amplify.aws/lib/auth/advanced/q/platform/js#lambda-triggers
- document amplify update api shit - aws-amplify/amplify-cli#3480 and aws-amplify/amplify-cli#4314 with primary and secondary
- lambda env vars aws-amplify/amplify-cli#2227
https://twitter.com/PipoPeperoni
- have meaningful readme for
@aws-amplify/ui-react - readable changelog
- document what changed between v2 and v3
- typescript examples for all docs
Cognito
It looks like the Pre Sign-up Lambda Trigger should be used for custom validations. You can prevent sign ups that way, but there is no way to really create a good response to it. You can just
throw 'some-message'and the response will be400: { "__type": "UserLambdaValidationException", "message": "PreSignUp failed with error some-message." }.This makes it very hard to create a good UX in the frontend, because it's hard to really handle a couple of different reasons I need to
match()the message now with a RegExp.# CDK
CDK is sooo good. I actually just used Amplify to easily test the auth process in a mocked frontend and have no need for Amplify infrastructure. It would be actually awesome (in my very personal limited view) if Amplify would just offer some nice CDK packages I can integrate into my existing CDK infrastructure code. Like "Amplify offers opinionated CDK constructs" while CDK on its own is unopinionated.