Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 78d23b8

Browse files
committed
Removed emojii 🚀
1 parent 0b00635 commit 78d23b8

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

graphql-types.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,6 @@ export type DirectoryCtimeArgs = {
247247
export type Site = Node & {
248248
buildTime?: Maybe<Scalars['Date']>;
249249
siteMetadata?: Maybe<SiteSiteMetadata>;
250-
port?: Maybe<Scalars['Int']>;
251-
host?: Maybe<Scalars['String']>;
252250
polyfill?: Maybe<Scalars['Boolean']>;
253251
pathPrefix?: Maybe<Scalars['String']>;
254252
jsxRuntime?: Maybe<Scalars['String']>;
@@ -848,8 +846,6 @@ export type QueryAllDirectoryArgs = {
848846
export type QuerySiteArgs = {
849847
buildTime?: InputMaybe<DateQueryOperatorInput>;
850848
siteMetadata?: InputMaybe<SiteSiteMetadataFilterInput>;
851-
port?: InputMaybe<IntQueryOperatorInput>;
852-
host?: InputMaybe<StringQueryOperatorInput>;
853849
polyfill?: InputMaybe<BooleanQueryOperatorInput>;
854850
pathPrefix?: InputMaybe<StringQueryOperatorInput>;
855851
jsxRuntime?: InputMaybe<StringQueryOperatorInput>;
@@ -2162,8 +2158,6 @@ export type SiteFieldsEnum =
21622158
| 'siteMetadata___contacts___links___medium'
21632159
| 'siteMetadata___contacts___links___devto'
21642160
| 'siteMetadata___contacts___links___instagram'
2165-
| 'port'
2166-
| 'host'
21672161
| 'polyfill'
21682162
| 'pathPrefix'
21692163
| 'jsxRuntime'
@@ -2299,8 +2293,6 @@ export type SiteGroupConnectionGroupArgs = {
22992293
export type SiteFilterInput = {
23002294
buildTime?: InputMaybe<DateQueryOperatorInput>;
23012295
siteMetadata?: InputMaybe<SiteSiteMetadataFilterInput>;
2302-
port?: InputMaybe<IntQueryOperatorInput>;
2303-
host?: InputMaybe<StringQueryOperatorInput>;
23042296
polyfill?: InputMaybe<BooleanQueryOperatorInput>;
23052297
pathPrefix?: InputMaybe<StringQueryOperatorInput>;
23062298
jsxRuntime?: InputMaybe<StringQueryOperatorInput>;

src/posts/2022-03-02-custom-jackson-module-deserlializer-serializer-object-mapper-java-spi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ This is not what we want!!! :fearful: What we would like to have as response is
193193

194194
We also have the same problem in the `/product/add` endpoint, where we are forced to send a request with the payload
195195
above, the one with all the `Money` fields, in order to add a product. How can we customize the way the Jackson
196-
`ObjectMapper` serialize/deserialize `Money` instances? :thinking: We can write a custom `Module` for it. By
196+
`ObjectMapper` serialize/deserialize `Money` instances? We can write a custom `Module` for it. By
197197
defining a custom module we can add ad-hoc serializers and deserializers. We will define our object mapper module in
198198
a *new maven module* called `money-module`.
199199
Let's start by defining the`MoneyDeserializer`. It will give us the ability to define a `Money` instance from the data
@@ -265,7 +265,7 @@ class ProductConfiguration {
265265
```
266266

267267
If you look closely to our `ObjectMapper` definition you can see something interesting: before returning the
268-
instance creation there is a call to the `findAndRegisterModules`. What does this method do? :thinking: It contains
268+
instance creation there is a call to the `findAndRegisterModules`. What does this method do? It contains
269269
the core feature of Jackson `Module`s load :heart_eyes:. This method is in charge of loading external third party
270270
modules using the [Java Service Provider interfaces](https://www.baeldung.com/java-spi).
271271
This a feature of Java 6 that let (library) developer write code to load and discovery third party plugins for their

0 commit comments

Comments
 (0)