Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added info about passing values into a stack #700

Merged
merged 2 commits into from
Sep 26, 2018
Merged

Conversation

Doug-AWS
Copy link
Contributor

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.


.. code-block:: ts

// The class for the other stack
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like it better if you put the XferBucketProps along with this class here, and call it MyCdkStackProps. Two reasons:

  • Naming: this is the convention.
  • Order: You're referring to that interface here, but only defining it in a completely different block. That doesn't help scannability.

Copy link
Contributor

@rix0rrr rix0rrr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment about ordering, otherwise ship it.

.. _passing_in_data:

##########################################
Passing in External Data to Your |cdk| App
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change "data" to "values"

@rix0rrr rix0rrr merged commit f697876 into master Sep 26, 2018
@rix0rrr rix0rrr deleted the dougsch/passing-data branch September 26, 2018 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants