Commit Graph
12 Commits
Author SHA1 Message Date
AdrienandGitHub 335eee7537 Remove MessageCompiler.annotation (#634) 2024-10-24 13:09:43 +01:00
AdrienandGitHub a99be78fe4 Remove FieldCompiler.mutable (#628) 2024-10-24 13:09:10 +01:00
AdrienandGitHub 849c12fe88 Use strict undefined (#633) 2024-10-24 13:06:58 +01:00
AdrienandGitHub c621ef8a8d Fix documentation (#630)
* Fix missing documentation

* Add test

* Add test

* Format

* Reformat
2024-10-22 19:52:11 +01:00
AdrienandGitHub 6a3bbe3f25 Fix import loop with Pydantic (#624) 2024-10-15 15:33:37 +01:00
AdrienandGitHub c2bcd31fe3 Remove error when no fields are set in oneof (#612) 2024-10-05 13:13:44 +01:00
AdrienandGitHub c9dfe9ab1f Remove unused compiler functions (#619) 2024-10-05 13:10:22 +01:00
1161803069 Fix placeholder deep copy (#611)
* Fix placeholder deep copy

* Add annotations, __repr__ and __slots__

Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com>

* Fix annotation

* Fix typing

---------

Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com>
2024-09-18 12:56:51 +01:00
AdrienandGitHub 8d25c96cea Simplify code: delete py_input_message (#614) 2024-09-17 16:05:35 +01:00
AdrienandGitHub 8fdcb381b7 Prevent users from creating messages with wrong parameters when pydantic is used (#615) 2024-09-12 18:34:47 +01:00
AdrienandGitHub efaef5095c Fix badge URL (#602)
The badge always shows the build as failing, even if it is actually successful.

This issue has been reported on https://github.com/actions/starter-workflows/issues/1525 , and the fix suggested on https://github.com/actions/starter-workflows/issues/1525#issuecomment-1763431305 works.
2024-08-31 15:49:14 +01:00
4e9a17c227 Add warnings when calling deprecated method (#596)
* Add test

* To run the workflow

* Fix import

* Format

* Add warning

* Fix indentation

* Test deprecated method

* More test

* Format

* Add import if needed

---------

Co-authored-by: Adrien Vannson <adrien.vannson@gardacp.com>
2024-08-14 21:33:43 +01:00