Commit Graph

71 Commits (ea93b91a80201c19c00d12dfd6fddc46f443bd2a)

Author SHA1 Message Date
James Bardin 730014b33e Convert the map fields values when reading diff
10 years ago
Radek Simko ad34f1ec74 Add (failing) test for map w/ non-string values
10 years ago
Clint a84aa5e914 Revert "helper/schema: Make nested Set(s) in List(s) work" (#7436)
10 years ago
Radek Simko 378b526dc3 helper/schema: Add regression tests for nested Set/List
10 years ago
James Nugent dbf725bd68 core: Allow dynamic attributes in helper/schema
10 years ago
James Nugent 074545e536 core: Use .% instead of .# for maps in state
10 years ago
Mitchell Hashimoto 1685054a9a
helper/schema: cleaner way to store Ephemeral
10 years ago
Sander van Harmelen ef4726bd50 Change Set internals and make (extreme) performance improvements
11 years ago
Panagiotis Moustafellos e4845f75cc removed extra parentheses
11 years ago
Mitchell Hashimoto 6e509aedcb helper/schema: diff should include removed set items [GH-1823]
11 years ago
Paul Hinze bc9792f4c5 helper/schema: tweak test anotation
11 years ago
Paul Hinze f2368428d3 helper/schema: write "attr.#": "0" for empty maps
11 years ago
Paul Hinze a3101568c5 helper/schema: add clarifying GetOk test
11 years ago
Mitchell Hashimoto 58a8776c41 helper/schema: test real nil pointer to ResourceData.Set
11 years ago
Mitchell Hashimoto c030148259 helper/schema: allow pointer values to ResourceData.Set
11 years ago
Mitchell Hashimoto dd00001c9a helper/schema: tests that all pass as I was trying to track down a bug
11 years ago
Mitchell Hashimoto fa7f496bef helper/schema: zero value of a set should be empty
11 years ago
Mitchell Hashimoto 7d32c8946a helper/schema: GetOk now only returns true if set to non-zero value
11 years ago
Mitchell Hashimoto 66f7731995 helper/schema: GetChange shouldn't return true when no change
11 years ago
Mitchell Hashimoto 2212d6895d helper/schema: diff with set going to 0 elements removes it from state
11 years ago
Dave Cunningham aa2015ccd0 Fix failing tests
11 years ago
Dave Cunningham 3cbf1a3230 Fix missing import of math
11 years ago
Dave Cunningham 319933f551 Add some tests for TypeFloat
11 years ago
Sander van Harmelen c7550595a3 Fixing two related bugs in HasChange and GetChange
11 years ago
Mitchell Hashimoto 448887f3c4 helper/schema: map counts in state
11 years ago
Mitchell Hashimoto 22436555a7 helper/schema: test setting computed value and retrieving it via state
11 years ago
Mitchell Hashimoto 4d067f4d6d helper/schema: don't put things into the state that don't exist or are
11 years ago
Sander van Harmelen cb37e10c6f Adding a test for issue #791
11 years ago
Mitchell Hashimoto 3c1b55a75f helper/schema: use the field reader/writer for state
11 years ago
Mitchell Hashimoto e57f3f69b1 helper/schema: empty maps, support reading objects directly
11 years ago
Mitchell Hashimoto f0af1c36f5 helper/schema: nested resource fields should be zero-valued on get
11 years ago
Mitchell Hashimoto 942a988ac2 helper/schema: zero value of a set should be a set
11 years ago
Mitchell Hashimoto b4bf813151 helper/schema: too big to fail
11 years ago
Sander van Harmelen 83c760fcb3 core: refactoring the way sets work internally v2
12 years ago
Mitchell Hashimoto 1792334ec4 fmt
12 years ago
Mitchell Hashimoto d0ce67a5b7 helper/schema: on destroy/create, reset state to be empty [GH-464]
12 years ago
Mitchell Hashimoto d1324678dd helper/schema: setting empty map works [GH-464]
12 years ago
Mitchell Hashimoto 5390357e45 helper/schema: sets properly take into account the diff
12 years ago
Mitchell Hashimoto 59349cca11 helper/schema: sets must be treated atomically within ResourceData
12 years ago
Mitchell Hashimoto 3a107d2e50 helper/schema: set the field to empty if it is a list and computed
12 years ago
Mitchell Hashimoto 9b2b3a963f ResourceDiff => InstanceDiff
12 years ago
Mitchell Hashimoto 81d9d70296 helper/schema: conforms to new API, tests pass
12 years ago
Mitchell Hashimoto faa4e75960 helper/schema: Get on computed diff should be empty
12 years ago
Mitchell Hashimoto 87a488092c helper/schema: support partial states
12 years ago
Mitchell Hashimoto 9ed601d541 helper/schema: store state with processed properly
12 years ago
Mitchell Hashimoto 50026a6d5c helper/schema: When having a StateFunc, make sure NewExtra contains
12 years ago
Mitchell Hashimoto d009ea800a helper/schema: add support for StateFunc
12 years ago
Mitchell Hashimoto 7be2f1b091 helper/schema: add GetOk
12 years ago
Mitchell Hashimoto 37cf52fa27 helper/schema: if no ID is set then return nil
12 years ago
Mitchell Hashimoto 3d3789920d helper/schema: can set conninfo
12 years ago