Commit Graph

13 Commits

Author SHA1 Message Date
Sergen Yalçın 3c38a1e875
Change the multi resolvers
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
2025-05-09 18:37:10 +03:00
Sergen Yalçın 1106a260c0
Reuse the crossplane-runtime helpers
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
2025-05-09 18:19:21 +03:00
Sergen Yalçın 5da36d8390
Add new case to unit-tests for *float64 type reference generation
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
2025-05-05 12:30:39 +03:00
Duologic d4a4d509d0 fix(angryjet): rename more helpers to convert
Signed-off-by: Duologic <jeroen@simplistic.be>
2025-04-24 14:56:17 +02:00
Nic Cope 68a85d1f05 Run golangci-lint run --fix
Signed-off-by: Nic Cope <nicc@rk0n.org>
2025-04-21 12:02:31 -07:00
L. Dalorion Johnson 6507791903
add helper functions; add k8s.io/utils/ptr dependency to helper functions
Signed-off-by: L. Dalorion Johnson <ldalorion@users.noreply.github.com>
2025-03-25 16:03:56 -05:00
Alper Rifat Ulucinar 2a99ce6564
Update Go version to 1.18
Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
2022-08-26 16:17:43 +03:00
Alper Rifat Ulucinar 750cac54f2
Support reference extractor function calls containing arguments with dots
Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
2022-08-07 23:33:11 +03:00
Sergen Yalçın 84d9ff061e
Add code comment
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
2022-03-10 19:38:17 +03:00
Sergen Yalçın 679c365288
Use NewFilePath instead of NewFile while creating the File object
Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
2022-03-09 16:58:38 +03:00
Muvaffak Onus fa70b84ed6
resolvers: change structure to have single traverser per package
Signed-off-by: Muvaffak Onus <me@muvaf.com>
2021-09-07 15:41:26 +03:00
Muvaffak Onus 1fe7729f44
resolvers: add test for generated code
Signed-off-by: Muvaffak Onus <me@muvaf.com>
2021-09-07 15:09:53 +03:00
Muvaffak Onus df0cbc93be
references: cover all possible cases such as pointer and arrays in field path so that we write the actual resolver call in nil guards and for loops
Signed-off-by: Muvaffak Onus <me@muvaf.com>
2021-09-05 02:37:06 +03:00