You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to register new Fact instances into the region info database is very inconvenient in Java, as a full-on implementation of an interface has to be rolled out (where a Struct would have been enough), and it also does not appear to work.
Reproduction Steps
Attempted to add a new custom class as an IFact implementation to the region info database - it did not appear to work.
What did you expect to happen?
Expected the fact to be registered and the behavior of the app to change according to that.
What actually happened?
The behavior of the app did not change.
CDK CLI Version
1.122.0
Framework Version
No response
Node.js Version
12.x
OS
Linux
Language
Java
Language Version
8
Other information
No response
The text was updated successfully, but these errors were encountered:
So it turns out the reason why the custom fact was not used is because the stack that used it was likely "region-agnostic", so it could not use a registered fact and instead used the default value.
In this case, the proper avenues to address this are:
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
What is the problem?
Attempting to register new
Fact
instances into the region info database is very inconvenient in Java, as a full-on implementation of an interface has to be rolled out (where a Struct would have been enough), and it also does not appear to work.Reproduction Steps
Attempted to add a new custom class as an
IFact
implementation to the region info database - it did not appear to work.What did you expect to happen?
Expected the fact to be registered and the behavior of the app to change according to that.
What actually happened?
The behavior of the app did not change.
CDK CLI Version
1.122.0
Framework Version
No response
Node.js Version
12.x
OS
Linux
Language
Java
Language Version
8
Other information
No response
The text was updated successfully, but these errors were encountered: