-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support @strawberry.type #1
Support @strawberry.type #1
Conversation
scripts/build_changelog.py
Outdated
import re | ||
import xml.etree.ElementTree | ||
from enum import Enum | ||
from html.parser import HTMLParser | ||
from pathlib import Path | ||
from typing import List | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this file for? 😊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I forgot to remove it.
The scripts generate changelog pages from histores.
https://koxudaxi.github.io/pydantic-pycharm-plugin/changelog/
testData/mock/stub/builtins.py
Outdated
@@ -0,0 +1,22 @@ | |||
""" | |||
The Mock is for testing pydantic with builtins |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have changed the name to strawberry
.
We will need the unittest. I keep this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome stuff! This looks good to me :)
Is there anything you need from us to get this published, shall we merge it and deal with the rest later?
<id>rocks.strawberry</id> | ||
<name>Strawberry-Graphql</name> | ||
<version>0.0.1</version> | ||
<vendor email="koaxudai@gmail.com">TODO Koudai Aono @koxudaxi</vendor> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this email be used for support? we can create one @strawberry.rocks if needed :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great!!
This plugin.xml will be a detailed page in the marketplace.
https://plugins.jetbrains.com/plugin/12861-pydantic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it, we can update the email later :)
Co-authored-by: Patrick Arminio <patrick.arminio@gmail.com>
@patrick91
Jetbrains Account, plugin Id, and a token to publish the plugin. I will add this CI file after I have dinner. 😉 The pydantic plugin is my first plugin project. This idea is not required for first release. |
support @strawberry.type as dataclass
How to build it
https://koxudaxi.github.io/pydantic-pycharm-plugin/development/