{"id":20163703,"url":"https://github.com/emik03/divorce.fody","last_synced_at":"2026-02-12T03:52:03.490Z","repository":{"id":100294960,"uuid":"571534663","full_name":"Emik03/Divorce.Fody","owner":"Emik03","description":"Moves nullable constraints to comply with older Mono frameworks (e.g. Unity 2017) allowing you to use NRTs.","archived":false,"fork":false,"pushed_at":"2025-01-01T10:50:32.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-06T20:54:11.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Emik03.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"Emik03","custom":"https://paypal.me/emik03"}},"created_at":"2022-11-28T10:47:27.000Z","updated_at":"2025-01-01T10:50:36.000Z","dependencies_parsed_at":"2024-10-17T05:51:20.163Z","dependency_job_id":"d3dd3e2a-7012-4370-8ca0-c2d5b2481038","html_url":"https://github.com/Emik03/Divorce.Fody","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Emik03/Divorce.Fody","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emik03%2FDivorce.Fody","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emik03%2FDivorce.Fody/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emik03%2FDivorce.Fody/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emik03%2FDivorce.Fody/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Emik03","download_url":"https://codeload.github.com/Emik03/Divorce.Fody/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emik03%2FDivorce.Fody/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274112906,"owners_count":25224332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T00:31:14.040Z","updated_at":"2026-02-12T03:52:03.418Z","avatar_url":"https://github.com/Emik03.png","language":"C#","funding_links":["https://github.com/sponsors/Emik03","https://paypal.me/emik03"],"categories":[],"sub_categories":[],"readme":"# Divorce.Fody\n\n[![NuGet package](https://img.shields.io/nuget/v/Divorce.Fody.svg?color=50fa7b\u0026logo=NuGet\u0026style=for-the-badge)](https://www.nuget.org/packages/Divorce.Fody)\n[![License](https://img.shields.io/github/license/Emik03/Divorce.Fody.svg?color=6272a4\u0026style=for-the-badge)](https://github.com/Emik03/Divorce.Fody/blob/main/LICENSE)\n\nThis is an add-in for [Fody](https://github.com/Fody/Fody) which lets you use Nullable Reference Types in older Mono frameworks (e.g. Unity 2017). Named after an antonym of Unity, since this project bends libraries to conform it.\n\nThis project has a dependency to [Emik.Morsels](https://github.com/Emik03/Emik.Morsels), if you are building this project, refer to its [README](https://github.com/Emik03/Emik.Morsels/blob/main/README.md) first.\n\n---\n\n- [Installation](#installation)\n- [Example](#example)\n- [Contribute](#contribute)\n- [License](#license)\n\n---\n\n## Installation\n\n- Install the NuGet packages [`Fody`](https://www.nuget.org/packages/Fody) and [`Divorce.Fody`](https://www.nuget.org/packages/Divorce.Fody). Installing `Fody` explicitly is needed to enable weaving.\n\n  ```\n  PM\u003e Install-Package Fody\n  PM\u003e Install-Package Divorce.Fody\n  ```\n\n- Add the `PrivateAssets=\"all\"` metadata attribute to the `\u003cPackageReference /\u003e` items of `Fody` and `Divorce.Fody` in your project file, so they won't be listed as dependencies.\n\n- If you already have a `FodyWeavers.xml` file in the root directory of your project, add the `\u003cDivorce /\u003e` tag there. This file will be created on the first build if it doesn't exist:\n\n```xml\n\u003cWeavers\u003e\n    \u003cDivorce /\u003e\n\u003c/Weavers\u003e\n```\n\nSee [Fody usage](https://github.com/Fody/Home/blob/master/pages/usage.md) for general guidelines, and [Fody Configuration](https://github.com/Fody/Home/blob/master/pages/configuration.md) for additional options.\n\n## Example\n\nWhat you write:\n\n```csharp\n#nullable enable\ninterface I { }\nclass C : I { }\nclass D\u003cT\u003e where T : C { }\n```\n\nWhat gets compiled:\n\n```csharp\n#nullable enable\ninterface I { }\nclass C : \n#nullable disable\n    I\n#nullable enable\n{ }\nclass D\u003cT\u003e where T :\n#nullable disable\n    C\n#nullable enable\n{ }\n```\n\n## Contribute\n\nIssues and pull requests are welcome to help this repository be the best it can be.\n\n## License\n\nThis repository falls under the [MPL-2 license](https://www.mozilla.org/en-US/MPL/2.0/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femik03%2Fdivorce.fody","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femik03%2Fdivorce.fody","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femik03%2Fdivorce.fody/lists"}